Skip to content

Islands Architecture

Islands Architecture focuses on minimizing JavaScript by only hydrating the parts of the page that actually need interactivity.

The bulk of the page is static HTML. Only specific components (the “islands”) are hydrated with JavaScript. Hydration can be triggered by visibility, idle time, or interaction.

  • Content-rich sites with dynamic widgets: Blogs with a newsletter signup, documentation with a search bar.
  • Performance-first projects: Maximizing Core Web Vitals by shipping minimal JS.
  • Resumability: A technique used by Qwik that eliminates hydration entirely by serializing application state into HTML, allowing it to “resume” instantly.
  • Lazy Hydration: Only loading the JS for a component when it enters the viewport.
  • Cross-Island Communication: If many components need to share complex state, the orchestration can become difficult.
  • Deeply interactive apps: If the entire page is interactive, the overhead of managing many islands outweighs the benefits.

Medium. Popularized by Astro, Fresh, and Marko.