Use cases
Start from the problem — modals, forms, fetch, theme, SSR — then open the hooks that solve it.
Modals & dialogsOpen/close, focus trap, escape, scroll lock, click outside.7 hooks →Forms & validationField state, validation, dirty/touched, async submit.7 hooks →Data fetching & mutationsHTTP load, polling, retry, pagination, infinite scroll.11 hooks →Theme & preferencesDark mode, storage, media queries, reduced motion.6 hooks →SSR-safe browser APIsWindow size, online status, visibility without hydration bugs.9 hooks →Search & typing UXDebounce input, previous query, document title.6 hooks →Menus, popovers, tooltipsPositioned overlays with outside click and keyboard.7 hooks →Realtime & streamsWebSocket, SSE, reconnecting clients.5 hooks →Auth gates & permissionsGeneric roles/permissions checks.7 hooks →Camera, mic & playbackMedia devices and recorders with cleanup.7 hooks →Timers & idleCountdown, intervals, stopwatch, idle session.8 hooks →Performance & stale closuresThrottle, stable callbacks, latest ref, render debug.9 hooks →