47ng/nuqs

Type-safe search params state manager for React frameworks - Like useState, but stored in the URL query string.

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 44 minutes ago
Added to GitGenius on September 5th, 2026
Created on May 11th, 2020
Open Issues & Pull Requests: 45 (+0)
GitHub issues: Enabled
Number of forks: 293
Total Stargazers: 10,810 (+0)
Total Subscribers: 12 (+0)

Repository Insights (GitGenius)

Most active contributors

Sign in to see contributor activity.

Related repositories by overlapping contributors

No overlapping-contributor repos identified yet.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Issue API getrepoissuespagesummary failed: 429 Rate limit exceeded. Please try again later.

Detailed Description

nuqs is a type-safe search params state manager for React frameworks that synchronizes component state with URL query strings.

The problem nuqs solves is managing URL query parameters without losing type safety or creating boilerplate. Traditional approaches either treat query strings as untyped strings or require manual serialization and deserialization logic. nuqs provides a useState-like API where state updates automatically sync to the URL and URL changes propagate back to component state. This keeps query parameters in sync with application state while maintaining full TypeScript type checking throughout.

Developers should choose nuqs when building React applications that need shareable, bookmarkable URLs reflecting application state—filtering interfaces, search results, pagination, or multi-step forms. It works across React frameworks and handles the synchronization transparently, eliminating the need to manually parse and stringify query parameters. The tool is particularly valuable in applications where URL state matters for user experience, such as preserving filter selections or search queries when users share links or use browser navigation.

The project maintains active development with regular updates addressing edge cases and framework compatibility. Maintenance includes consistent responsiveness to issues and pull requests, indicating ongoing attention to user-reported problems. The codebase receives periodic refactoring to improve code quality and maintainability. Documentation is kept current with examples and API changes. The project demonstrates a commitment to supporting multiple React frameworks and versions through continuous testing and compatibility work.