Earlier quoted context omitted.
The key difference between islands and what we used to do back in the day (js on a static page) is that with an islands approach you architect your site with a components-driven approach where everything encapsulates the js/css/html it needs, then you mark it as an "interactive" island if you actually need client-side js to run – the code is the same, but it either runs only in the server (default) or in both server…
I will also say encapsulating everything you just said in a single term, "islands," is a lot simpler and prettier to discuss. At least from my perspective, the naming also makes a lot of sense. Literal islands of interactivity surrounded by an ocean of static.
Cloudflare acquires Astro
181–190 of 409 posts
Re: Cloudflare acquires Astro
#182Re: Cloudflare acquires Astro
#183My apologies friends, I could not resist!
Congrats Astro team!
Re: Cloudflare acquires Astro
#184Some features of my SSR-based side project feel like I had to hack them on, such as a hook that runs only on app start (hacked in via middleware) or manually needing to set cache control headers for auth’d content.
All in all, really happy with it. And it isn’t next.js.
Re: Cloudflare acquires Astro
#185Earlier quoted context omitted.
No, not in particular, I just like Svelte's compilation-based approach, but Alpine definitely looks nice. When the client side interactivity is very contained and small in scope I also quite like just using plain JavaScript without a framework.
Sorry we haven't fixed this issue sooner. In this case it's a complicated CSS issue, but nevertheless I've got a fix I'm working on here: https://github.com/withastro/astro/pull/15227
Re: Cloudflare acquires Astro
#186Earlier quoted context omitted.
Same reason vercel buys open source... it makes cloudflare always a great deployment option for all Astro sites, which in turn helps cloudflare's core business. For example, Cloudflare released their vite plugin which makes it effortless for frameworks that use the vite env API to run inside workerd (meaning you get to use cloudflare service bindings in dev) back in April and only React Router had support for it. Nex…
So, cloudification: lock the customer into a complex cloud dependent solution they can't easily migrate to some other commodity infrastructure provider.
Re: Cloudflare acquires Astro
#187It would be good to understand what Cloudflare gets out of the deal. The article is very much just "Astro, but someone else pays the bills!" which is of course lovely for Astro.
Same reason vercel buys open source... it makes cloudflare always a great deployment option for all Astro sites, which in turn helps cloudflare's core business. For example, Cloudflare released their vite plugin which makes it effortless for frameworks that use the vite env API to run inside workerd (meaning you get to use cloudflare service bindings in dev) back in April and only React Router had support for it. Nex…
I was impressed since I got interactive compilation and state tracking of how many exercises the user completed.
Re: Cloudflare acquires Astro
#188Earlier quoted context omitted.
Same reason vercel buys open source... it makes cloudflare always a great deployment option for all Astro sites, which in turn helps cloudflare's core business. For example, Cloudflare released their vite plugin which makes it effortless for frameworks that use the vite env API to run inside workerd (meaning you get to use cloudflare service bindings in dev) back in April and only React Router had support for it. Nex…
> Nextjs has no support From what I remember, you can't even run a NextJS app through vite?
Re: Cloudflare acquires Astro
#189I am very disappointed with Astro. 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 .…
If all you are writing a blog and you're not using Substack or Squarespace or any of the other million blog hosting options you're crazy IMO.
Your costs could explode, or worse, the business could go under and you lose all your shit.