This is just a list or react hooks that I've found, or developed that I added as an npm pacakge for easy re-use.
useIsMounted
For async code, check if the component is still mounteduseIsInView
For triggering animations, for exampleuseHash
For keeping the hash of the url in-sync with a local variableusOnKeyPress
For triggering code when a user presses a specific keyuseChartDimensions
Helps keeps charts / SVG responsive when the windo is resized
useCookie
useInterval
Useful for animations`
useLocalStorage
For keeping localStorage value in-sync with a local variable
useImageUpload
- Dependent on how Image Upload is set up (coming soon)useWindowSize
- Helpful if calculating column sizes, for example