nextjs-use-search-params-suspense
CommunityRead URL query params with Suspense.
Authormcclowes
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill demonstrates reading URL query parameters client-side using useSearchParams within a Suspense boundary to ensure correct SSR hydration and dynamic filtering.
Core Features & Use Cases
- useSearchParams + Suspense: Read query params in a client component guarded by Suspense.
- Filters & Pagination: Implement live filters and pagination state driven by URL params.
- Robust client patterns: Combine useParams-like behavior with router/navigate to update params.
Quick Start
Build a client component that uses useSearchParams to read query values and wrap the component in a Suspense boundary for proper hydration.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: nextjs-use-search-params-suspense Download link: https://github.com/mcclowes/puzzles/archive/main.zip#nextjs-use-search-params-suspense Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.