>>107499097
>I still have no idea what people mean when they say "server side rendering"
import express from "express";
import { renderToString } from "react-dom/server";
import App from "somewhere";
const app = express();
app.get("*", (_, res) => res.send(renderToString(<App />)));
app.listen(8080);
React has supported this for about a decade now. What's new (actually, 5 years old now) is the ability to render to a Node stream, so that you can send HTML as soon as possible.
>inb4 "why bother with this?"
there isn't really a reason. The average B2B SaaS is behind a login wall anyway and nobody besides other web devs cares about "first contentful paint"