# nuqs

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

- **Website**: https://nuqs.47ng.com
- **Uneed Page**: https://www.uneed.best/tool/nuqs
- **Pricing**: Free
- **Category**: Development
- **Tags**: Development, Next.js, Open Source
- **Submitted by**: @franky47
- **Launch Date**: 2024-04-07
- **Social Links**: [Twitter](https://x.com/fortysevenfx) | [LinkedIn](https://www.linkedin.com/in/francoisbest) | [GitHub](https://github.com/47ng/nuqs) | [YouTube](https://www.youtube.com/@47ng-dev)

## About

`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)