- All Courses
- Next.js App Router in Depth
- Server and Client Components
- The "use client" boundary
The "use client" boundary
The directive does not mark one component as interactive — it marks the entry point to a client subtree. Everything imported below it goes to the browser too.
- 11m
- Intermediate

Video by ByteGrad · YouTube
Check your understanding
3 questions. Unlocks when you finish the video.
Overview
What this lesson covers
- Place the directive at the boundary, not on every file
- Push interactivity to the leaves to keep the bundle small
- Spot the accidental import that drags the server tree client-side
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:
- Place the directive at the boundary, not on every file
- Push interactivity to the leaves to keep the bundle small
- Spot the accidental import that drags the server tree client-side
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.