-
Notifications
You must be signed in to change notification settings - Fork 0
API Reference
Saurav-TB-Pandey edited this page Sep 19, 2026
·
6 revisions
Welcome to the react-hook-lab API Reference.
Because we have dozens of hooks spanning completely different use cases, we've broken the documentation down into highly focused categories.
Select a category below to view detailed code examples and parameters for each hook.
Hooks for managing timeouts, intervals, debouncing, throttling, and asynchronous API calls safely without stale closures.
Hooks for securely interacting with the user's browser, hardware, and the DOM.
useTabVisibilityusePipuseFileSystemuseClipboarduseOnlineStatususeDownloaduseNotificationsuseCamerauseMicrophoneuseLocationuseIdleuseClickOutsideuseElementSizeuseIntersectionObserveruseResizeObserveruseWidthuseURLuseFullscreen
Hooks for syncing state globally across components, tabs, or local storage. Also includes powerful state primitives.
useResourceuseResourceComposeuseSharedStateuseIndexedDBuseLocalStorageuseSessionStorageuseCookieuseDeepCloneuseDeepMemouseBooleanuseCounterusePrevioususeToggle
Advanced hooks and standalone utilities for profiling renders and deeply comparing/cloning data.
-
useRenderReason(Diagnose Wasted Renders) -
deepClone(Standalone Utility) -
deepEqual(Standalone Utility)
Built with ❤️ by Saurav-TB-Pandey. | Report an Issue | NPM