Skip to content

API Reference

Saurav-TB-Pandey edited this page Jul 27, 2026 · 6 revisions

API Reference Overview

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.

  • useAsync
  • useAsyncDebounce
  • useDebounce
  • useThrottle
  • useInterval
  • useTimeout
  • useTimezone

Hooks for securely interacting with the user's browser, hardware, and the DOM.

  • useClipboard
  • useOnlineStatus
  • useDownload
  • useNotifications
  • useCamera
  • useMicrophone
  • useLocation
  • useIdle
  • useClickOutside
  • useElementSize
  • useIntersectionObserver
  • useResizeObserver
  • useWidth

Hooks for syncing state globally across components, tabs, or local storage. Also includes powerful state primitives.

  • useSharedState
  • useLocalStorage
  • useSessionStorage
  • useDeepClone
  • useDeepMemo
  • useBoolean
  • useCounter
  • usePrevious
  • useToggle

Advanced hooks and standalone utilities for profiling renders and deeply comparing/cloning data.

  • useRenderReason (Diagnose Wasted Renders)
  • deepClone (Standalone Utility)
  • deepEqual (Standalone Utility)

Clone this wiki locally