Client Visible, JavaScript for components is only loaded when they are visible to the user, improving performance and user experience.This video provides a comprehensive overview of Island Architecture, emphasizing its benefits in modern web development, particularly within the Jamstack ecosystem.
0:00 So you may have heard of this new the term, what is Island Architecture? Is island architecture in the jamstack world. When you ship your latest application using your favorite framework, whether that be React, View or Spelt, each of those components contains JavaScript. Even if it's a static file such as a navy or just an image with some text, this is where Island Architecture
0:31 comes. What? What? What? What is island architecture? Control the JavaScript that is shipped with your project and how that also interacts with your users. Let's look at a normal React application in the jamstack world. Here is a diagram of a website. As you can see, there is a top section here with a bio portfolio, podcast and blog. And that would be our NAV bar. Then we have this section here, which is our
1:01 Hero. And below the fold is an image section that is interactive. So it's like an image carousel, something like that. Currently all of this is being shipped with JavaScript. So maybe this top section has 10 KB. This section is 20, our carousel is another 17. But this section here and this section here is completely static. The components aren't actually doing anything, they're not taking any state in
🔒 The full, searchable transcript is available with Pro.