What problem does it solve?
This Skill clarifies how to implement Next.js 15 App Router patterns, helping teams navigate the complexities of the App Router, Server Components vs Client Components, Server Actions, Route Handlers, caching/revalidation, and streaming/Suspense.
Core Features & Use Cases
- App Router structure: guidance on app/, layout.tsx, page.tsx, route groups, and route handlers.
- Component architecture: distinctions and best practices for Server Components and Client Components.
- Data flow patterns: use Server Actions and Route Handlers to mutate data and fetch data efficiently, with revalidation strategies.
- Performance & UX: streaming and Suspense patterns to optimize perceived performance.
- Use Case: Porting an existing Next.js app to Next.js 15 App Router with server components and streaming.
Quick Start
Start by scaffolding a minimal Next.js 15 app with an app/ directory including layout.tsx, a page.tsx, and a route.ts for API using Server Actions.