This is actual nonsense. Creation of a fully-formed HTML document server-side is performed by countless platform combinations.
This is actual nonsense. Creation of a fully-formed HTML document server-side is performed by countless platform combinations.
Let's be a bit more charitable when we pull quotes out of context.
In PHP the server computes the full HTML and sends it to the client browser. What would need to be added here to have “client side hydration” for example?
Seems weird to me to use “SSR” as a term for both SSR + hydration, but I’m not in the web dev lingo bubble so what do I know? The author doesn’t use the term “hydration” until the blurb at the end talking about Quik
SSR when talking about React is very clear jargon.
You have a client-side web application. You want the initial-state HTML to come over the wire on the first response rather than wait for the client application to load, make a request, and then render the result.
So you use a tool like those listed in TFA (like Next.js) to run your front-end app logic on the server to generate the HTML and send it to your client where your front-end app mounts to that HTML and takes over (cutely named rehydration).
This is relatively cutting edge stuff which is why it's weird to assume OP is an idiot who never knew about PHP or CGI when he wrote an article that is obviously talking about client-side applications and rendering them on the server.
The older platforms for this had you essentially write two separate backends - the one which renders HTML, and the other which returns a JSON or XML API for your hand-written JavaScript (or CoffeeScript or JQuery etc.) embedded in your HTML.
So I would say the author's point (if I was asked about it) would be that these other new front-end frameworks support similar things, instead of sending plain HTML over the wire.
Am I wrong?
So, considering this, is it still nonsense? (I honestly don’t know.)