Astro Islands & SSR (50 Qs)•Part 1: Basic & Foundational Concepts (Junior / Entry-Level)
What is the Astro Component Islands Architecture?
senior LevelCode ExampleComponentsSystem DesignAstro
In Simple Words: Pioneered by Jason Miller and popularized by Astro:
- An Island is an isolated pocket of interactive UI embedded within an otherwise static HTML document.
- Instead of hydrating the entire page with a massive monolithic JS bundle, Astro loads and hydrates only the specific interactive islands that need it.
sql
+-----------------------------------------------------------+
| Static Header (0KB JS - Pure HTML) |
+-----------------------------------------------------------+
| Static Sidebar (0KB JS) | [ Interactive Image Carousel ]| <- Island: 15KB JS
| | (client:visible) |
| +--------------------------------+
| | Static Article Body (0KB JS) |
+-----------------------------------------------------------+
| [ Interactive Buy Button ] | <- Island: 4KB JS
| (client:load) |
+-----------------------------------------------------------+
| Static Footer (0KB JS) |
+-----------------------------------------------------------+