nextjs-server-client-components
CommunityGuidance to server vs client components in Next.js.
Authormcclowes
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Clarifies when to use Server Components vs Client Components in Next.js App Router, covering useSearchParams, Suspense, navigation, cookies/headers access, and the 'use client' directive.
Core Features & Use Cases
- Default Server Components with async data fetching
- Client Components via 'use client' when necessary
- Guidance to avoid mixing server/client APIs
Quick Start
Use Server Components by default. If you need interactivity, add 'use client' and migrate only the necessary parts; example: server component fetches data, client component handles events.
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-server-client-components Download link: https://github.com/mcclowes/vague-playground/archive/main.zip#nextjs-server-client-components 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.