logoalt Hacker News

user34283last Sunday at 7:34 PM2 repliesview on HN

I used to think the same about server-side rendering until I more closely looked at React SSR.

I think it makes a lot of sense and allows for faster initial rendering of the page while automatically setting up the JS and interactivity in the background.


Replies

sublinearlast Sunday at 7:55 PM

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.

show 1 reply
williamcottonlast Monday at 3:05 PM

React has always supported server-side rendering and there have been many tools over the years to "rehydrate" data from the server to the client for when the client-side React application "takes over".