1.0.2 • Published 4 years ago
@cpepin/hookbook v1.0.2
Hookbook 👨🍳
A collection of helpful (& typed) React hooks!
Install
npm i --save @cpepin/hookbook
Usage
import useManagedState from '@cpepin/hookbook/lib/hooks/useManagedState';
Available Hooks
- useDebounce
- useManagedState
- useMemoize
- useOutsideClick
- useSearch
- useStateWithGetter
To view documentation on each individual hook, view the corresponding README in the hooks
folder.
Browser Support
Both the esm
and umd
bundles support IE11 and all modern browsers (Edge, Chrome, Firefox, Safari).