Why Astro is The Next Big Thing For The Web
It’s a bold statement, I know, but I honestly think Astro is setting itself up to be a really big deal. If you haven’t heard of Astro yet I would highly recommend you pause reading this, go read their landing page, watch Fireship’s Astro in 100 seconds video, then come back here. I’ll wait…
Pretty awesome, right?!
<p> tag for the end user.
“There isn’t a perfect analogy but it’s almost like we’ve been building the framing for regular old houses out of solid concrete when we should be using plain old 2 x 4’s”
This brings me to Astro. It takes the same HTML-first ideology as Hugo, 11ty, and Jekyll but gives us the modern dev experience that has made Sveltekit, Gatsby, and NextJS so popular. And don’t get me started on the most powerful Astro feature that let’s you ship React, Vue, Svelte, Preact, and Lit components in the same project. That’s for another day. The reason I feel that Astro is on the cusp of something big is becuase web developers are realizing we’re building the house fundamentally wrong.
Don’t worry, I’m putting my money where my mouth is and from now on and making Astro my default framework and only using something else if I absolutely have to. This site was recently rebuilt with it and in my day job as a frontend developer at an agency I will be pushing to use it for client sites whenever possible.
Still don’t believe me? Try it out for yourself! I made a minimal blog starter repo, they have their own example templates, and there is a growing repo of community starters. What I’ve found I love about it most is I get to write plain old HTML again. That might sound boring but sometimes boring and simple is a breath of fresh air in the world of web frameworks. If you think it’s just hype for a new framework that’s okay but I ask that you please try it before writing your own blog post against it. Test your own Astro project on web.dev and look at your network payload on the static build. For me, the results spoke for themselves.