> โ hooks are good, making custom re-usable ones is better
npm install @snappmarket/hooks






----
bash
yarn add @snappmarket/hooks
`
Hooks Found Here
| Hook Name | Description |
| ------------------------------------------------- | ---------------------------------------------------------------- |
| useDebounce | ๐ Change rapidly, do once |
| useDidUpdateEffect | ๐งต Do not worry about render phase effect calls |
| useFocus | ๐ต Focus on every thing you want |
| useForceUpdate | ๐ฟ force update component |
| useGeoLocation | ๐บ easily deal with navigator location API |
| useRouteChange | ๐น detect when react router dom route changes |
| useTimer | โฑ easily handle timing |
usage
`javascript
import { HOOK_NAME } from '@snappmarket/hooks';
const SampleComponent = props => {
// use hook here
};
``