hooks-storage

0.2.0 • Public • Published

hooks-storage

npm NPM

React hooks library:

  • useAsync - react hook to use async functions;
  • useOnClickOutside - react hook to handle click out side of the element;
  • useMemoCompare;
  • useLocalStorage - sync state to local storage so that it persists through a page refresh;
  • useKeyPress - key press hook;

Full API documentation - Learn about each helper

Package Sidebar

Install

npm i hooks-storage

Weekly Downloads

10

Version

0.2.0

License

MIT

Unpacked Size

3.97 kB

Total Files

3

Last publish

Collaborators

  • codingwhale