4 ms·
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-fetchin
by addicted 2y ago
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-server-components 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.
- nsonha 2y ago`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.
- eyelidlessness 2y agoRSC 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.