Concept Flow - Why Astro ships zero JavaScript by default
Write Astro component
Build site with Astro
Astro analyzes component
Detects no interactive JS needed?
Yes→Ship zero JS to browser
Include needed JS
Include JS for interactivity
Astro checks if your component needs JavaScript for interactivity. If not, it sends only HTML and CSS, so no JavaScript is sent by default.
