News for hackers. Stuff that matters.
Re:React 19 Beta by eyelidlessness on Friday April 26, 2024 @01:49PM (#40172207)
Server rendered React components have always been in, and server rendering was the primary precursor to React in the first place. Still full circle, without coming or going anywhere.
Re:React 19 Beta by addicted on Friday April 26, 2024 @03:40PM (#40173257)
This is a blog post from 2020 that introduced React Server Components and talks about it being in the R&D phase.

https://react.dev/blog/2020/12/21/data-fetching-with-react-s...

React v1.0 was out in 2014. It was already being used in production before that.

React Hooks were released in 2019. Hooks has also spent years as part of React with Server Components not being part of it.

Server Components is an extremely new addition to React, and a significant shift in React’s direction.

Re:React 19 Beta by eyelidlessness on Friday April 26, 2024 @05:01PM (#40174235)
RSC is not the introduction of rendering React components server side. React Server Components are concerned with new server-specific functionality for sure, but they’re also concerned with changes to bundling and wire format, mostly addressing client-specific concerns that arise from those.

But don’t take it from me, I’m just regurgitating information I learned from actual React team members (at least at the time) like Dan Abromov.

Re:React 19 Beta by nsonha on Tuesday April 30, 2024 @06:05AM (#40209156)
`react-dom` has a `renderToString` function since day 1 and people has been rendering server side since day 1 of React. There are also approaches such as pre-rendering with Chromium.