React hooks like no other! ⚡
Use alongside other great libraries, there are no plans to reproduce all "common" hooks. If a hook is there, it's either unique, rare, super optimized or just needed for other hooks.
useConditionalHooks
- break the rules (safely) — call hooks conditionally, use a dynamic list of hooksuseEffect2
- useEffect
that gives you previous valuesuseBusy
- keep track of your async operationsuseCrossTabs
- hook for cross-tab communicationuseCrossTabsMessage
- easily listen to messages from other tabsuseDetectMultiTabs
- detect if there are multiple tabs of your app openuseForceUpdate
- force render on demanduseGeolocation
- keep track of user's geolocation (super optimized)useSimpleGeolocation
- keep track of user's geolocation (simplified)useInputDevice
- keep track of a currently active input deviceuseIsFirstRender
- keep track of first renderuseMemoizedFn
- improve performance by memoizing functionsuseProxyRef
- wraps your ref with a Proxy for full controluseForwardedProxyRef
- wraps forwarded ref with a Proxy for full controluseToday
- keep track of day changesuseUpdateEvery
- force render every interval setFull documentation is available here: documentation.
MIT