3 ms·
The reason I said that is because it's very easy for people to get the wrong idea that Astro is just one of those blog pre-rendering engines, because it strips
by koakuma-chan 2y ago
The reason I said that is because it's very easy for people to get the wrong idea that Astro is just one of those blog pre-rendering engines, because it strips JavaScript by default and has features like Collections API and built-in markdown rendering. But I'm also willing to argue that Astro is not any harder than Next.js or Remix, just takes a different approach (islands).
I actually did build a substantial dynamic SPA in Astro[0], and I would still choose Astro if I could start all over again, because just like other frameworks Astro has great support for data fetching, and also allows you to trivially have some parts of your application fully JavaScript-free, such as the login page where just the browser-native form is sufficient.
[0]: https://github.com/mayo-dayo/app https://github.com/mayo-dayo/app
- nonethewiser 2y agoVery cool, thank you for sharing. I'll check it out. I agree that it doesnt only do blogs and static sites. I found it to be harder to use for other cases but I'll poke around in that repo.