react-impl-server-components
Installation
SKILL.md
react-impl-server-components
Quick Reference
Framework Requirement
NEVER attempt to use Server Components without a supporting framework. React Server Components require a bundler and server integration — standalone React (create-react-app, plain Vite) does NOT support them. Use Next.js App Router (13.4+), or another RSC-compatible framework.
Server vs Client Component Rules
| Capability | Server Component | Client Component |
|---|---|---|
| Directive needed | NONE (default) | "use client" at top of file |
async/await in render |
YES | NO |
| Direct DB/filesystem access | YES | NO |
useState / useReducer |
NO | YES |
useEffect / useLayoutEffect |
NO | YES |
Event handlers (onClick, onChange) |
NO | YES |
Browser APIs (localStorage, window) |
NO | YES |
Related skills