Skip to article content
FrontendXLearning path

Next.js App Router Mastery

A version-qualified path through the Next.js App Router: server components, client boundaries, data fetching, caching layers, streaming, error handling, proxy, images, performance, testing and deployment, with the Next.js 15 and 16 behavior changes called out where they matter.

beginner · 20 lessons · 120 exercises · about 980 minutes

  • Predict
  • Explain
  • Implement
  • Debug
  • Test
  • Interview

What you will be able to do

#
  • Build App Router features with the correct file conventions and know which component renders at a URL.
  • Decide deliberately between server and client components and place client boundaries for minimal JavaScript.
  • Fetch, cache and revalidate data across the modern caching layers with version-qualified defaults.
  • Handle loading, streaming, errors and metadata the way the framework intends.
  • Ship: performance, testing and deployment practices that hold up in production.

Prerequisites

#

Lessons

#
  1. The App Router Mental Model

    beginner · 40 minutes · 6 exercises

    Name the App Router file conventions and state which file renders at a given URL.

  2. Routing, Dynamic Segments and Navigation

    beginner · 45 minutes · 6 exercises

    Build dynamic, catch-all and optional catch-all segments and read their values from awaited params.

  3. Layouts, Templates and Metadata

    beginner · 45 minutes · 6 exercises

    Structure nested layouts and explain what persists across child navigations.

  4. Server Components in Depth

    intermediate · 50 minutes · 6 exercises

    Trace what executes on the server versus the browser for a given component tree.

  5. Client Boundaries and the 'use client' Directive

    intermediate · 50 minutes · 6 exercises

    Place 'use client' boundaries precisely and predict what each placement ships to the browser.

  6. Data Fetching in Server Components

    intermediate · 50 minutes · 6 exercises

    Fetch data in server components with fetch and with non-fetch clients such as ORMs.

  7. The Caching Layers

    intermediate · 55 minutes · 6 exercises

    Name the caching layers and what each one caches in the pre-Cache-Components model.

  8. Cache Components: use cache, cacheLife and cacheTag

    advanced · 55 minutes · 6 exercises

    Enable and reason about Cache Components and its prerender validation.

  9. Static, Dynamic and Streaming Rendering

    intermediate · 50 minutes · 6 exercises

    Decide per route whether it should prerender, render per request, or stream.

  10. Server Actions and Mutations

    intermediate · 55 minutes · 6 exercises

    Define Server Actions inline and in files and wire them to forms with progressive enhancement.

  11. Route Handlers

    intermediate · 45 minutes · 6 exercises

    Build route.ts endpoints with correct method exports and Web-standard request and response types.

  12. Request APIs: cookies, headers, searchParams

    intermediate · 45 minutes · 6 exercises

    Read and write cookies and headers through the awaited request APIs in every sanctioned context.

  13. Loading States and Streaming

    intermediate · 45 minutes · 6 exercises

    Use loading.tsx and Suspense to build shell-first pages with granular fallbacks.

  14. Error Handling and Not-Found

    intermediate · 50 minutes · 6 exercises

    Build error.tsx and global-error.tsx boundaries with working reset and accessible messages.

  15. Parallel and Intercepting Routes

    advanced · 50 minutes · 6 exercises

    Compose parallel route slots with independent loading and error states.

  16. Proxy and Middleware: the Request Gatekeeper

    intermediate · 50 minutes · 6 exercises

    Write a proxy function with a scoped matcher that redirects, rewrites or annotates requests.

  17. Images, Environment Variables and Config

    beginner · 50 minutes · 6 exercises

    Configure next/image correctly for local and remote sources including the Next.js 16 images changes.

  18. Performance Optimization in the App Router

    intermediate · 50 minutes · 6 exercises

    Diagnose which parts of a page ship JavaScript and move client boundaries down the tree.

  19. Testing and Debugging Next.js Applications

    intermediate · 50 minutes · 6 exercises

    Choose the right test layer for server components, route handlers, server actions and client interactions.

  20. Deployment and the Capstone Runbook

    advanced · 50 minutes · 6 exercises

    Explain what the default build produces and when output: standalone is the right choice.

Study journeys

#

Skip-ahead journeys never remove a requirement. The prerequisite graph always reports the full chain; a skip-ahead course only marks where an assessment may substitute for study.

© 2026 FrontendX. All rights reserved.