Logo

nuqs

Like React.useState, but stored in the URL query string, in a type-safe manner.

Upvoted by

`nuqs` gives you: - A simple React.useState-like API, synced with the URL - End-to-end server <-> client type-safety - Lots of controls (history, local-only vs server-aware updates) - Server-side parsing and distribution across the RSC tree - Compatible with the app router and the pages router - Tested on every Next.js version - Tiny footprint (4KB gzipped)

Want to keep up with the latest products?

Sign up for our newsletter.