Up until now, if you wanted a reliable and performant way of fetching fragmented data you would, normally, rely on GraphQL for the task.

Instead of now having to add extra tooling to work with concepts such as database queries, you can now have a seamless experience going from front-end specific code into back-end land and vice versa.

Server components are React components that are rendered in the back-end. That’s it, actually, that’s almost it.

Truth is, this is a server component, but for a very simple reason: it’s pulling data from the server itself. So why would you put that call in the client, when you can do it directly from the server? That is one of the main reasons why we’re getting this new type of component: improved performance on IO calls.

#graphql #react server components

Do We Need Both GraphQL and React Server Components?
1.25 GEEK