JavaScript Jabber cover image

React Server Components: Part 1 - JSJ 582

JavaScript Jabber

00:00

React Server Components: A Way to Pass Data From the Server to the Client

In React Server Components, you can just make a database query directly because it's running on the server side next to the database and doesn't have any client side restrictions. And then it kind of passes or the data trickles down the tree as it doesn't react as just as props into the chart components that can be client side component. In traditional server rendered solutions for React, so like the old next JS, the, you know, remix, Gatsby, all of these solutions, server rendering or rendering your reaction to HTML only happens when the page loads. So we recommend to use server components together with rendering to HTML for the initial page load.

Play episode from 29:51
Transcript

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app