by koakuma-chan · 10mo ago · 0 comments
Who is this framework for?
It's been years, and they still don't support unit testing Astro Actions. They still don't support inter-island communication.
"Astro v6 is around the corner" - and the only changes are 1. refactored CLI (why? it's perfectly fine) 2. bumped zod to v4
It's great if you want to build a blog or something, but it's definitely far from great for building apps.
Don't know what they are thinking.
They even say it in this blog:
"Our mission to design a web framework specifically for building websites — what we call content-driven websites, to better distinguish from data-driven, stateful web applications — resonated"
Not an Astro expert, but the massive headline at the top of the homepage may provide a clue as to their intended audience:
> The web framework for content-driven websites
You can easily add any global store library to your project to communicate between islands from the very simple (nanostores) to more complex stuff (are people still using mobx, redux, etc?)
I actually would prefer if Astro kept the core more simple, I never understood the point of Astro components for example; always thought their game plan would be to build their own client-side framework like what remix v3 is doing, but currently their components are too limited to make them worth using over just doing everything in react, svelte, or whatever floats your boat.
Personally I only ever use .astro components if I'm 100% sure I will never need any client side interactivity, otherwise it's just easier to ignore them.
The docs show how to use nanostores but you can use other libs like vue refs, etc.
> They still don't support inter-island communication
Can't you just use standard DOM events for that on the client? This would work even pushing events from React to Vue to Vanilla.Your costs could explode, or worse, the business could go under and you lose all your shit.
And you get to keep your data in markdown easily portable