SSR-safe and Next.js ready
No hook touches window or document while rendering on the server. Works in the App Router, Pages Router, Remix and Vite apps.
TypeScript first
Strict types, such as checked query param keys and typed DOM events. No @types package needed.
Tiny and tree-shakeable
Zero dependencies. Your bundle only includes the hooks you import.