Frontend First cover image

Server-side rendering vs. Server Components

Frontend First

00:00

How to Get From Server Components to Client Components in a Browser

The first step is use the react We all have been using for years you run a command and you get a bundle of client code that you load in a script tag in the browser. Now you introduce server components and the way the server components actually work Kind of undo what I just said, which is like you have the server components and then you have the client bundle That's loaded now. It's actually the server components that are resulting in a bundle So instead of the bundle being just generated at build time Let's say and loaded once for the whole app and then making API requests You don't really matter that bundle gets like loaded and reloaded in the client. The result is still the same

Transcript
Play full episode

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