@ivbrajkovic/react-hooks
v1.2.0
Published
Collection of React hooks ES2015 compatibile
Downloads
6
Readme
React Hooks
Collection of React hooks ES2015 compatibile
Hooks list
useFetchJsonAbort; // Fetch JSON response
useFetchJsonAbortDeprecated; // Fetch JSON response
useIntersectionObserver; // Intersection observer
useDeepEffect; // Deep compare useEffect hook
useInterval; // Interval hook with stop/pause/change options
useFlipAnimation; // FLIP animation hook
useRippleEffect; // Ripple effect hook
useCombinedRefs; // Reuse forwarded ref
useRippleEffect demo - codesandbox.io
useDeepEffect demo - codesandbox.io
TODO
- Add terser script to minify js :heavy_check_mark:
- Add more hooks :blush: