- 1 current stop: learning
- 2 upcoming
- 3 upcoming
- 4 upcoming
- 5 upcoming
Finish after stop 5
Stop 1 of 5 · Server room at the depot
Trick to keep in mind+3 XP
'use client' means 'also ships to the browser', not 'skips the server'.
Client Components are still rendered to HTML on the server for the first load, so the user sees content immediately. After that, the same component's JavaScript is sent to the browser and hydrated, which attaches state and event handlers. The directive describes where its code is allowed to run and be shipped, not a ban on server rendering.
Read it once, then a question tests whether the trick stuck.