Astro: less JavaScript, Faster Website
summary
Astro claims pages ship no JavaScript by default by using an islands architecture that renders HTML server-side and hydrates only chosen components. Demo builds a React counter, shows it renders static HTML then becomes interactive when a client directive (examples: client:load, client:visible) is added; network tab proves JS downloads only on hydration (on load or when scrolled into view). Supports SSG/SSR, MDX, edge runtimes (Deno, Cloudflare) and integrations like Tailwind and PartyTown.
AI-written summary · about
