A collection of useful React Hooks created for use in different Kommo projects
| npm | yarn | pnpm |
|---|---|---|
npm i @kommo-crm/react-hooks |
yarn add @kommo-crm/react-hooks |
pnpm add @kommo-crm/react-hooks |
useConst- DocsuseDebounce- DocsuseDidUpdateEffect- DocsuseKeyboardListNavigation- DocsuseIsComponentMounted- DocsuseOnOutsideClick- DocsuseDeepCompareEffect- Docs
yarn install && yarn buildTo test your hooks we recommend to use Storybook.
| Command | Runs |
|---|---|
yarn storybook |
Start Storybook on port 6006 |
Run Unit tests:
yarn testPull requests are welcome. See the contribution guidelines for more information.
Source code is under a custom license based on MIT.