| ▲ | sublinear 4 days ago | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
Couldn't you just static render the parts that you're using SSR for? I am not trying to be dismissive, but a common strict requirement is static hosting from a CDN, embedded environments, etc. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ▲ | user34283 4 days ago | parent [-] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
If you static render, it won't be an interactive application. With React SSR you get the best of both: stream static HTML chunks immediately, and rehydrate with JS later, prioritizing components the user interacts with. It should load quicker compared to traditional React apps where the browser loads the HTML, then loads the JS bundle, and only then renders a loading skeleton while likely triggering more requests for data. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||