Finding more community Hooks
We have already learned about the collection of Hooks provided by useHooks.com. However, there are many more Hooks that are provided by the community. You can find a searchable list of various Hooks on the following page: https://nikgraf.github.io/react-hooks/.
To give you an idea of which other Hooks are out there, the following features are provided by community Hooks. We now list a couple more interesting Hooks provided by the community.
use-events
(https://github.com/sandiiarov/use-events): Various JavaScript events that have been turned into Hooks, such as mouse position, touch events, clicking outside, and so on.react-use
(https://github.com/streamich/react-use): Various Hooks to deal with sensors (useBattery
,useIdle
,useGeolocation
, and so on), UI (useAudio
,useCss
,useFullscreen
, and so on), animations (useSpring
,useTween
,useRaf
, and so on), and side effects (useAsync
,useDebounce
,useFavicon
, and so on)
Of course...