News for hackers. Stuff that matters.
Re:New React docs pretend SPAs don't exist anymore by tshaddox on Saturday March 18, 2023 @01:28PM (#35211160)
In React I think it’s pretty fair to call it server-side rendering, to distinguish it from the usual client-side React render which manipulates the DOM. It’s just like that, except it renders to a string that can be returned in an HTML response (or streams: https://react.dev/reference/react-dom/server/renderToString#...).

It might be a little clearer now to call it “pre-rendering,” to distinguish it from React server components which also run on the server but which are quite distinct from SSRing client components.

There are no comments on this comment yet.