A modular collection of React hooks.
🦄 TypeScript support • 🐐 Fully tested • 👾 Server rendering compatible
Run yarn go
See ./packages/*
for individual package installation details.
Package | Version | Description |
---|---|---|
@hooks/before-unload | React hook to provide a message prompt before the page is unloaded | |
@hooks/boolean | React hook to store a boolean | |
@hooks/geo-location | React hook to return geo location details | |
@hooks/interval | React hook to wrap setInterval | |
@hooks/media-query | React hook to respond to media queries | |
@hooks/mount | React hook to execute callback on component mount | |
@hooks/network-status | React hook return network status details | |
@hooks/previous | React hook to remember a value between renders | |
@hooks/queue | React hook to manage a queue | |
@hooks/raf | React hook to wrap requestAnimationFrame | |
@hooks/render-count | React hook to record the render count | |
@hooks/stack | React hook to manage a stack | |
@hooks/store | React hook to provide an observable global store | |
@hooks/timeout | React hook to delay function execution | |
@hooks/title | React hook to set the document title | |
@hooks/unmount | React hook execute a callback on component unmount |