useAnimationFrame
Alias of useRaf.
import { useAnimationFrame } from '@/hooks';Debounce, throttle, stable callbacks, and render diagnostics without stale closures.
useAnimationFrameAlias of useRaf.
import { useAnimationFrame } from '@/hooks';useDebounceDebounce a changing value (alias of useDebouncedValue).
import { useDebounce } from '@/hooks';useDebouncedCallbackDebounce a function with cancel and flush.
import { useDebouncedCallback } from '@/hooks';useDebouncedValueReturn a value that updates after a quiet period.
import { useDebouncedValue } from '@/hooks';useLatestAlways-current ref — kills stale closures.
import { useLatest } from '@/hooks';useMemoizedFnAlias of useStableCallback.
import { useMemoizedFn } from '@/hooks';useRafrequestAnimationFrame loop with start/stop.
import { useRaf } from '@/hooks';useRenderCountCount how many times the component rendered.
import { useRenderCount } from '@/hooks';useStableCallbackStable function identity that calls the latest fn.
import { useStableCallback } from '@/hooks';useThrottleThrottle a changing value.
import { useThrottle } from '@/hooks';useThrottledCallbackThrottle a function with cancel and flush.
import { useThrottledCallback } from '@/hooks';useThrottledValueReturn a value limited to once per interval.
import { useThrottledValue } from '@/hooks';useWhyDidYouUpdateLog which props changed (debug).
import { useWhyDidYouUpdate } from '@/hooks';