Member-only story
What is Astro?
Why you should consider using this ‘JavaScript framework’ for your next project.

Why You Should Consider Using Astro For Your Next Project
What is Astro? And by that, I mean several things: what is Astro for? When is it a good idea to use Astro? And when is it not? What problem is it trying to solve? In other words: what is Astro’s why… its “raison d’être” as the French would say?
It might be easier to start by defining what Astro is not.
Astro is a JavaScript framework… but I hesitate to call it that. Why? Because people immediately assume that means a frontend framework. One intended as an alternative to React and the like.
Astro is something else. It works with frontend frameworks, in collaboration not in competition with them.
It does not aim to compete with Next.js or Remix either, although those two do address similar use cases.
It’s refreshing to hear the creators state that, no, they don’t want to address every single need. And no, there are situations where Astro is not ideal for the job at hand.
Because Astro is … a tool. A tool that targets a particular use case: publishing content-focused websites.
What does that mean? Well, to understand that we’ll be going over Astro’s features, its strengths, and its weaknesses, such as:
- Astro’s old-school page rendering model (and what use cases Astro targets)
- Astro’s developer experience or DX
- Astro’s “complexity you can opt-in to”
- How Astro goes about creating pages that load fast
- And the “islands of interactivity” model
But first, let’s look at the rendering model.
SPA vs MPA?
React, and other frontend frameworks, entrust HTML rendering to the browser. This allows for a richer user experience because the state is managed locally, on the client. But this comes at the cost of more JavaScript shipped to the client.
But what about all the web pages where there is no state to speak of? All the blogs, landing pages, news…