SSR (Server-Side Rendering) is generating HTML on the server and sending the ready page to the client.
Simple analogy: Imagine you are ordering pizza.
How SSR works (simplified):
Streaming SSR (React 18+): Previously the server waited for all data to load and only then sent HTML. Streaming SSR sends HTML in parts:
React 19 + Server Components: Server components execute ONLY on the server, their code is not sent to the client. This reduces bundle size.
SSR disadvantages: