[deleted]•

[removed]

1
BTMPLOP•

A short introduction to server-side rendering: what issues does it aim to solve, when would you need it, and what are the ways you can go about it.

1
stun•

We really have come around a full circle ⭕️, haven’t we?
 
Java/C# server-side rendered web application development model to front-end JavaScript frameworks with web services (aka APIs), and now back to server-side rendered HTML with JavaScript.

1
our_best_friend•

Not at all. BE used to render FE code on the server, with those horrible languages that mixed FE and BE tags (like JSP, yuck). Now it's the FE code that runs on the server, with little involvment from BE technologies

It's JS taking over the BE, basically

5
BTMPLOP•

Kinda. But due the fact that React allows you to write universal apps, with not much overhead you can write apps that allow you to run the same code on both backend and frontend.

1
SomeRandomBuddy•

Right, but then it’s purely front end after that for the duration. The UX of pure server rendered webapps tends to pale in comparison. And the DX. For the most part, you’re literally running the same code on the front and back end

1
swyx•

great intro. i feel we need a term for SSR + Hydration - that is a key feature that sets react SSR/SSG projects like Next and Gatsby apart from normal SSR-ing.

1
mallibu•

I didnt understand shit

1