Skip to content

simmo/hooks

Repository files navigation

🎒 React Hooks

A modular collection of React hooks.

🦄 TypeScript support • 🐐 Fully tested • 👾 Server rendering compatible

GitHub Actions Netlify License

Help

Run yarn go

Packages

See ./packages/* for individual package installation details.

Package Version Description
@hooks/before-unload npm React hook to provide a message prompt before the page is unloaded
@hooks/boolean npm React hook to store a boolean
@hooks/geo-location npm React hook to return geo location details
@hooks/interval npm React hook to wrap setInterval
@hooks/media-query npm React hook to respond to media queries
@hooks/mount npm React hook to execute callback on component mount
@hooks/network-status npm React hook return network status details
@hooks/previous npm React hook to remember a value between renders
@hooks/queue npm React hook to manage a queue
@hooks/raf npm React hook to wrap requestAnimationFrame
@hooks/render-count npm React hook to record the render count
@hooks/stack npm React hook to manage a stack
@hooks/store npm React hook to provide an observable global store
@hooks/timeout npm React hook to delay function execution
@hooks/title npm React hook to set the document title
@hooks/unmount npm React hook execute a callback on component unmount