JavaScript Jabber cover image

The State of JS Frameworks with Ryan Carniato: Part 2 - JSJ 571

JavaScript Jabber

00:00

MPA Like Islands Framework - Server Components Run on the Server and Client

In an MPA like islands, as you said, server code only runs on the server. But when you go to the next page in a in an MPA islands framework thing, you throw away that current page, get the new page and start all over again. The reason for this is that context shared state needs to exist in the client. So once you've loaded the initial page, and let's say you put some kind of context provided at the top of page, like a counter, you click it like 10 times and now your count's at 10. And then usually you inject the client components in. It doesn't matter if you have the same islands or you have new islands

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