Server Rendering visual mental model
Server rendering lets React produce HTML before the browser has finished booting the interactive client application.
The server produces markup for the initial request.
Users may see meaningful content before client JavaScript finishes loading.
The client tree must match the server output closely enough for React to adopt the existing DOM.
State, events, Effects, and later renders continue from the hydrated tree.
Hydration is adoption, not a second unrelated render
Equivalent initial output lets React attach event behaviour and preserve the existing DOM efficiently.
Time-dependent values, browser-only branches, random output, or mismatched data can create hydration warnings or replacement work.
Streaming changes when HTML arrives
Reveals as soon as its server work is ready.
Does not have to block the entire response.
SSR, static rendering, and client rendering solve different timing problems
Produce HTML for the request using server-side rendering APIs or a framework.
Produce reusable HTML ahead of requests when the content model allows it.
Build the visible UI after JavaScript runs in the browser.
Choose based on ownership and timing
Keep this mental model
Continue with Hydration and hydrateRoot for the detailed APIs, mismatch debugging, and production patterns.