Hacker News new | ask | show | jobs
by hermanradtke 505 days ago
> Some react devs literally don't even know that HTML can be rendered server side.

Sadly, many do. Only later do they realize it is orders of magnitude slower than rendering a template and more cpu intensive. Combine that with the fact that node.js prefers to have an IO heavy workload, but instead we get a cpu heavy one.

React is fine, but SSR has a long way to go before it is “good”.

1 comments

"Server-side-rendering" confused me for ages because I figured it must be some new fancy tech instead of 'what PHP has done from the beginning'.

SSR isn't actually rendering anything of course.

In the context of React it makes sense, as traditionally it's a client-side rendering thing. Until recently, a redundant render would run in the client once the js is loaded anyway, but I believe it's possible to skip that now.