Server-side rendering (SSR) generates a page’s HTML on the server and sends it to the browser before sending the JavaScript. The browser can receive page content before running that JavaScript. section 1.2.1 section 4.4
SSR addresses a common tradeoff in rich web applications: sites that send a blank page plus JavaScript leave users waiting for the code to download and execute before content appears. The same rendering code must run on both the server and browser, which can make SSR challenging to implement. section 1.2.1
Some full-stack React frameworks provide SSR by default and split JavaScript into chunks for the pages that need them:
- Next.js section 1.2.2
- Remix section 1.2.2
- Astro section 1.2.2
SSR can improve initial page delivery, but it is not a one-sided rendering change: the rendering code must remain usable in both environments. Frameworks designed for that shared setup can help meet the challenge. section 1.2.1 section 4.4












