/many-hooks-collection

A list of re-usable React Custom Hooks

Primary LanguageJavaScript

hooks-collection

A small collection fo useful React custom hooks. Feel free to use any in your project.
Hit star if you like 🖐

Built with ❤︎ by Rajdeep Chandra

useFetchApi

- This custom hook can be used as a reusable hook to fetch data from api

useErrorLogger

- This custom hook can be used as a reusable hook to log errors in any component

useImageCarousel

- This custom hook can be used as a reusable hook to use Image carousel

useLoader

- This custom hook can be used as a reusable hook to show loading icon before your api resolves

useWindowResize

- This custom hook can be used as a reusable hook to get width of DOM window

useReactNativeAndroidBackHandler

- This custom hook can be used as a BackHandler hook in React native Android for adding and removing event handlers 

useScrollIntoViewHook

- This custom hook can be used as a reusable hook to scroll to an element in the view

Feel free to use. Pull requests are welcome.

Hit star if you like 🖐

Support My Work:

Click on any of the below links to support:

GitHub Sponsors, Open Collective, Patreon, PayPal**