Server Components and Next.js
Where HTML is made (CSR, SSR, SSG, ISR, streaming), React Server Components, Server Functions, the Next.js App Router, caching, hydration and choosing a framework.
Until now every React example made its HTML in the browser: the page arrived empty and JavaScript built it. This phase moves React onto the server. You'll learn the rendering strategies (client rendering, server rendering, static generation, incremental regeneration and streaming), what hydration is, and why the first HTML a user receives matters so much for speed and search engines.
Then you'll meet React Server Components, components that run only on the server and send no JavaScript, the "use client" boundary, and Server Functions ("use server"), which let a form or a button call code on the server. You'll learn to treat every Server Function as a public HTTP endpoint: validate the input, authorise every call and never return secrets.
Finally you'll build with the framework that ships all of this today, Next.js 16 and its App Router: file-based routes, layouts, loading and error files, Link and Image, data fetching, "use cache" and revalidation. You'll fix hydration errors with confidence and finish with a map of the React tooling world (Vite, Next.js, React Router framework mode, TanStack Start, Expo). The live examples run real react-dom/server and hydrateRoot in your browser; anything that needs a real server is shown as Next.js code and clearly labelled.
Practise this phase
Hands-on exercises: write the code, see your page live, and press Check to have it tested automatically.