Next.js Documentation
Next.js is a React framework for building full-stack web applications. Version 16 features the App Router with React Server Components, streaming, and improved data fetching patterns.
Quick Reference
| Topic | Entry Point |
|---|---|
| Getting started | contents/01-app/01-getting-started/ |
| Server Components | contents/01-app/01-getting-started/05-server-and-client-components.mdx |
| Data fetching | contents/01-app/01-getting-started/07-fetching-data.mdx |
| Caching | contents/01-app/01-getting-started/09-caching-and-revalidating.mdx |
| API reference | contents/01-app/03-api-reference/ |
| Pages Router | contents/02-pages/ |
When to use
Use this skill when the user asks about:
- •Next.js App Router or Pages Router
- •Server Components and client components
- •Routing, layouts, and navigation
- •Data fetching (fetch, server actions)
- •Caching and revalidation
- •Middleware and API routes
- •Image/font optimization
- •Deployment and configuration
How to find information
- •First, read
TOC.mdto see all available documentation files - •Identify the relevant section/files based on the user's question
- •Read specific files for detailed information
TOC.md contains a complete file listing organized by directory - always check it first before searching.