Skip to content
Tech Atlas, home
Search
Esc
  • All roadmapsBrowse every learning path
  • ExploreFind a technology area
  • ProjectsGuided projects and builds
  • My AtlasYour learning dashboard
Skill

Server Components & Rendering Modes

Decide where and when each part of a React app renders (server or client, build time or request time, streamed or blocking), fetch, cache and mutate data to match, and protect it behind sign-in.

Advanced1 roadmap

5 objectives 6 steps about 155 min

Learn it step by step

Read the lessons in order, try the practice checks, then prove the skill with the knowledge check.

Start learning

This skill page is a public outline. Its lessons and knowledge check appear here as subject-matter experts approve them.

Learning objectives

  • Compare client-side rendering, server-side rendering, static generation with revalidation and streaming, and choose a mode per route from data freshness and performance needs.
  • Split a page into Server and Client Components, placing the use client boundary as low as possible and keeping secrets and server-only code out of the client bundle.
  • Fetch data in Server Components, stream slow sections with Suspense, and control caching and revalidation by time and on demand.
  • Mutate data with Server Actions or Route Handlers that validate input on the server and revalidate affected routes, and diagnose hydration mismatches.
  • Add sign-in through an identity provider or auth library (OAuth 2.0 / OpenID Connect), keep the session in a secure HttpOnly cookie rather than browser storage, and enforce authorization in Server Components, Server Actions and Route Handlers instead of only hiding UI.

Lesson plan

6 steps, about 155 min · 5 of 5 lessons available so far

Practise it

Convert a client-rendered dashboard to the App Router: a static landing page, a request-time dashboard behind OAuth sign-in with the session in an HttpOnly cookie, two independently streamed panels, a server action that rejects unauthenticated calls, validates and saves a note then revalidates the page, and a bundle comparison showing the drop in client JavaScript. Alternate two accounts on the same route and test cache hits, logout and revoked roles; neither streamed HTML nor cached data may expose another account's content.

References

Hard prerequisites

Unlocks

Nothing depends on this skill yet.

On these roadmaps

Progress and evidence for this skill are shared across all of them.