Tired to rewrite or copy-past hooks and components across react apps? This project will help you! It's a collection of the most helpful and reusable react hooks and components
// with npm:
npm i @react-reusable/hooks
// or with yarn:
yarn add @react-reusable/hooks
useDisableScroll— crossbrowser disable scrolluseOpenPopup— manage popups/modals/tooltips visibility stateuseEffectOnUpdates— useEffect that ignores first renderuseOutsideClick— invoke callback when user clicks outside the elementuseBoolean— makes it easer to use boolean state
WIP.