|
|
|
|
|
by mu53
1106 days ago
|
|
I think the React team is responding to current trends. SPAs were super trendy. Once people started building them, they recognized that SPAs are much harder to optimize than the code for a single page. Next.js came in, and everyone has slowly been shifting to SSR. If the react team doesn't react, other frameworks will eclipse them. While I don't like the implementation details, I can see what they were going for. Encapsulating certain API calls behind the server adds a new layer of security that react didn't have before. It's good it is opt-in |
|
If you're building trivial brochure pages that need SSR for adsense, you shouldnt be using react at all.
If you're building complex apps, it doesn't really make much sense to put the burden of rendering on your server.