Sync React state to URL query parameters for shareable filters, search, and deep-linkable dialogs with nuqs.
Installation
Details
Usage
After installing, this skill will be available to your AI coding assistant.
Verify installation:
npx agent-skills-cli listSkill Instructions
name: url-state-management description: Sync React state to URL query parameters for shareable filters, search, and deep-linkable dialogs with nuqs.
URL State Management
Sync React state to URL query parameters for shareable filters, search, and deep-linkable dialogs with nuqs.
Prerequisites
Complete these recipes first (in order):
Next.js on Vercel
Create a Next.js app running on Bun, configure the development environment, and deploy to Vercel with automatic deployments on push.
curl -H "Accept: text/markdown" https://fullstackrecipes.com/api/recipes/nextjs-on-vercel
Cookbook - Complete These Recipes in Order
URL State with nuqs
Sync React state to URL query parameters for shareable filters, search queries, and deep links to modal dialogs. Preserves UI state on browser back/forward navigation.
curl -H "Accept: text/markdown" https://fullstackrecipes.com/api/recipes/nuqs-setup
Working with nuqs
Manage React state in URL query parameters with nuqs. Covers Suspense boundaries, parsers, clearing state, and deep-linkable dialogs.
curl -H "Accept: text/markdown" https://fullstackrecipes.com/api/recipes/using-nuqs
More by NeverSight
View allUpdate Tailwind CSS configuration, custom themes, and design tokens across packages. Use when adding new colors, spacing scales, or customizing the design system.
Advanced distributed event patterns for ABP microservices including idempotent handlers, cross-tenant events, event sourcing lite, and saga patterns. Use when: (1) implementing event handlers across services, (2) ensuring idempotent event processing, (3) cross-tenant event handling, (4) designing event-driven architectures.
Optimize decisions using proof-weighted scoring.
knowledge-base-builder for learning content management and knowledge systems.
