nextjs-use-search-params-suspense
๐ฏSkillfrom wsimmonds/claude-nextjs-skills
Explains the required pattern for using Next.js useSearchParams hook with a Suspense boundary, covering single-file and inline patterns for building search interfaces, filters, and pagination that read URL query parameters client-side.
Same repository
wsimmonds/claude-nextjs-skills(9 items)
Installation
npx vibeindex add wsimmonds/claude-nextjs-skills --skill nextjs-use-search-params-suspensenpx skills add wsimmonds/claude-nextjs-skills --skill nextjs-use-search-params-suspense~/.claude/skills/nextjs-use-search-params-suspense/SKILL.mdSKILL.md
More from this repository8
A comprehensive Next.js App Router skill covering migration from Pages Router, file-based routing, layouts, metadata handling, and TypeScript patterns for Next.js 13+.
Guides developers in choosing between Next.js Server and Client Components, handling routing, searchParams, and component rendering strategies effectively.
Guides advanced Next.js App Router patterns including Route Handlers, Parallel Routes, Intercepting Routes, Server Actions with 'use server' directive, error boundaries, draft mode, streaming with Suspense, and cookie handling from client components.
Vercel AI SDK v5 implementation skill for building AI chat interfaces with useChat hook, streaming responses, tool calling, embeddings, and MCP integration
Provides a two-file pattern for Next.js client components calling server actions to set cookies, covering the separation of client-side interaction (onClick, form submission) from server-side cookie operations for authentication, preferences, or session management.
Guides implementing navigation in Next.js Server Components using the Link component and redirect() function, covering the distinction between server and client navigation methods to avoid unnecessary 'use client' conversions.
Guides creating Next.js App Router dynamic routes and working with pathname parameters, covering dynamic segments ([id], [slug]), catch-all routes, the params prop, and strategies to avoid over-nesting by defaulting to the simplest route structure.
Provides a focused pattern for fetching data using URL parameters in Next.js dynamic routes ([id], [slug]), demonstrating how to access route parameters in server components to load individual items like product pages, blog posts, or user profiles.