Next.js
- Category
- Frameworks and libraries
- Docs outline
- 15 sections
Official docs outline
nextjs.org- Project structure and routing conventions
App Router folders and file conventions such as page, layout, route, loading, error, route groups, private folders and colocation.
- Layouts and pages
Creating pages and nested layouts, dynamic route segments, route params, and search params.
- Linking and navigating
The Link component, prefetching, prerendering, client-side navigation, and the useRouter hook and streaming for slow networks.
- Server and Client Components
The use client boundary, when to use server vs client components, composition, passing props across the boundary, and context providers.
- Fetching data
Fetching on the server and client, async server components, streaming with Suspense and loading.js, and parallel vs sequential requests.
- Mutating data
Server Functions and Server Actions, use server directive, forms, pending state, and revalidation after mutation.
- Caching
Request memoization, data cache, full route cache, Cache Components and use cache, and cache lifetimes.
- Revalidating
Time-based and on-demand revalidation with revalidatePath, revalidateTag, and cache tags.
- Error handling
Expected errors with return values and useActionState, uncaught exceptions with error boundaries, error.js, global-error and not-found.
- Route Handlers
Custom HTTP endpoints using route.ts, Web Request and Response APIs, supported HTTP methods, and caching behavior.
- Proxy (middleware)
Running code before a request completes to rewrite, redirect, set headers or cookies, and matcher configuration.
- CSS and styling
CSS Modules, global CSS, Tailwind CSS, and CSS-in-JS in the App Router.
- Image and font optimization
The Image component, responsive sizing, lazy loading, remote images, and next/font for self-hosted fonts.
- Metadata and OG images
Static and dynamic metadata, the Metadata API, generateMetadata, file-based metadata, sitemaps, and OG image generation.
- Deploying
Node.js server, Docker, static export, adapters, and platform deployment options.
Each section links to the official page. Titles and summaries by Extra Credit; the docs belong to their authors.