Frontend First cover image

Server-side rendering vs. Server Components

Frontend First

CHAPTER

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

00:00
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner