Package of custom React hooks
npm install --save react-hooks-pack
or
yarn add react-hooks-pack
- useDebounce - delay the calling of function
- useDeferredValue - delay the changing of value
- useForceUpdate - call force re-render
- useForm - form helper
- useWindowSize - return width and height of window
- useClickOutside - detect clicks outside of a specified element