5 ms·
> Just tell your boss that you’re available to teach the new hires — who’ve only ever heard of React — about the joys of server-side rendering. Everything old
by rsynnott 2y ago
> Just tell your boss that you’re available to teach the new hires — who’ve only ever heard of React — about the joys of server-side rendering.
Everything old is, apparently, new again. Last time I worked on webapps, Javascript was, at most, a minor cosmetic sprinkling, maybe with a bit of AJAX if you were daring. Everything was rendered on the server.
- sunrunner 2y ago> Everything was rendered on the server. Until rendering on the client was cool. But then search engines hate that, so maybe we'd better render on the server after all but then also re-render everything on the client ('reconciliation'). Ah wait, what's this? Now you can opt for 'partial pre-rendering', because it wasn't enough to send HTML from the server and make more HTML in the client, now we can mix client-only HTML rendering with reconciled server-rendered-client-re-rendered HTML.
- klysm 2y agoIMO most of this boils down to understanding if you need SEO or not. There’s no right general answer