3 ms·
I don't really understand these sorts of low-effort comments. You're probably referencing the React Server Components that were recently proposed. React has sup
by wonnage 4y ago
I don't really understand these sorts of low-effort comments. You're probably referencing the React Server Components that were recently proposed. React has supported server side rendering basically since its inception. The problem with most existing SSR implementations in any language is that it's a one-shot synchronous process which doesn't allow for out of order streaming. For example, you might want to render a loading state and replace it with content once some network call returns. This used to take multiple requests; you get the initial page, some JS makes the network call, then you might need to download even more JS to render the result. Now you can do it all in one shot with (almost) no JS; the server can stream this entire sequence of HTML chunks in one response.
That's pretty useful and it's not "PHP 25 years later with 100x the complexity"