react-hookr
v0.1.15
Published
a hook public package
Readme
react-hookr
react common public hook
To install react-hookr, simply run:
npm install react-hookr
hook
- [Sensors]
useScroll— tracks an HTML element's scroll position.useTimeout— returns bolean status(true) after a timeout.useToggle— return state of booleanuseHover— hover state of some elmentuseLocalStorage— set or get local storageuseRefMounted— tracks if component is mountedusePromise— resolves promise only while component is mounteduseList— tracks a value of an arrayusePrevious— tracks a value of previous
