- All Courses
- Next.js App Router in Depth
- Server and Client Components
- What server components actually do
What server components actually do
Server components run on the server and send rendered output rather than code. That is why they can read a database directly and why they add nothing to your bundle.
- 16m
- Intermediate

Video by Web Dev Simplified · YouTube
Check your understanding
3 questions. Unlocks when you finish the video.
Overview
What this lesson covers
- Render on the server and ship no component code to the client
- Read data and secrets directly, without an API round trip
- Understand why server components cannot hold state or effects
This lesson sits in Server and Client Components, part of Next.js App Router in Depth. It assumes what came before it and leads directly into the next lesson in the module.
In this lesson you will:
- Render on the server and ship no component code to the client
- Read data and secrets directly, without an API round trip
- Understand why server components cannot hold state or effects
Resources
Your notes will live here
Note taking is not available yet. Nothing you type would be saved, so the tab stays read-only for now.