golan.fm
← Back to Blog
Tech

Why I keep reaching for Astro

Every new project starts with the same question: what’s the right tool for this?

For a growing number of projects, my answer has been Astro. Here’s why.

The zero-JS default is a superpower

Most frameworks ship JavaScript by default and let you opt out. Astro ships zero JavaScript by default and lets you opt in. That inversion changes everything.

For content-heavy sites - portfolios, blogs, marketing sites, documentation - the result is smaller bundles, faster loads, and better Core Web Vitals out of the box. You don’t have to fight the framework to ship a fast site.

Islands work the way my brain works

Astro’s island architecture lets you isolate the interactive parts of a page. The rest is static HTML.

In practice this means I can reach for React (or Vue, or Svelte, or whatever) exactly where I need interactivity, without paying the cost everywhere else. A filter dropdown on a portfolio page doesn’t need React. A complex form component does. Astro makes that distinction easy.

Content collections are genuinely good

The content collection API - typed frontmatter, glob-based collection definitions, and Zod validation - is one of the most developer-friendly content systems I’ve used. You define a schema, Astro validates it at build time, and your TypeScript types flow through automatically.

No more runtime surprises from a missing date field or a typo in a category name.

The i18n support is pragmatic

I’ve built bilingual sites with Astro’s built-in i18n config. The URL routing strategy is flexible (prefix default locale or not), and it works well combined with a simple translations.ts file for UI strings.

It’s not a full-blown i18n library, which is fine. For most content sites, you don’t need one.

When I’d reach for something else

Astro isn’t the right tool for everything. If I’m building something highly interactive - a complex dashboard, a real-time app, anything with a lot of client-side state - I’d probably reach for Next.js or a pure React/Vue SPA.

Astro is a content site framework that’s exceptionally good at its job. When your job matches, it’s excellent.