A collection of useful react hooks.
Features:
- TypeScript support
- Fully tested
- SSR compatibility
Package | Version | Description |
---|---|---|
@hookit/debounce | Debounce fast-changing state | |
@hookit/element-event-listener | Listen to events on elements with hooks | |
@hookit/geo-location | Access users geolocation info with hooks | |
@hookit/interval | Execute code on an interval | |
@hookit/local-storage | Set and get items from local storage | |
@hookit/media | Utilize media queries in components | |
@hookit/mouse | Determine cursor position | |
@hookit/network-status | Get network status | |
@hookit/permissions | Layer user permissions into your application with hooks | |
@hookit/sarcasm | sO yOu WaNnA uSe SoMe HoOkS hUh??? | |
@hookit/throttle | Throttle fast-changing state | |
@hookit/toggle | Toggle a boolean state | |
@hookit/undo | Undo & redo state changes | |
@hookit/verification-inputs | Helps with verification input features | |
@hookit/why-did-you-update | Understand why react components are re-rendering | |
@hookit/window-event-listener | Easily add/remove window event listeners |