Skip to content

Nextjs Framework Textbook

A free, self-paced textbook in 8 chapters. Read a chapter, then drill it with the 50 companion flashcards using spaced repetition.

8 chapters · 50 cards · Updated

Chapters

  1. 1Foundations of Next.js and the App Router

    Next.js is a React framework created by Vercel that provides a complete toolkit for building production-ready web applications. It bundles together features that React alone does n...

  2. 2Server and Client Components

    In the App Router, every component is a Server Component by default. Server Components render on the server and send the resulting HTML to the browser, which means they can directl...

  3. 3Rendering Strategies

    Next.js supports several rendering strategies, and the App Router chooses one automatically based on how a page uses dynamic data. Server-Side Rendering, or SSR, generates the HTML...

  4. 4Advanced Routing Patterns

    Beyond the basic folder-to-route mapping, Next.js offers several routing patterns that handle common real-world needs. A dynamic route uses square brackets in the folder name, like...

  5. 5Layouts, Templates, and Special Files

    Layouts are one of the App Router's most powerful features. A layout.tsx file in any folder defines the chrome that wraps every page beneath that segment, such as a navigation bar,...

  6. 6Data Fetching, Mutations, and Middleware

    Data fetching in the App Router is one of the most pleasant developer experiences in modern web frameworks. Server Components can declare themselves async and use await directly on...

  7. 7Navigation Hooks and Components

    Navigation is a first-class concern in Next.js, and the framework provides both declarative and programmatic ways to move between routes. The <Link> component from next/link...

  8. 8Configuration, Metadata, and Optimization

    The main configuration file for a Next.js project is next.config.js, also available as .mjs or .ts. It centralizes many important settings, including allowed image domains, declara...

← Back to the Nextjs Framework deck