Re:Astro is a return to the fundamentals of the web
by evantbyrne on Wednesday July 09, 2025 @09:37AM
(#44509909)
There wasn't as much JS to test. I built a progressively-enhanced SQLite GUI not too long ago to refresh my memory on the methodology, and I wound up with 50-ish lines of JS not counting Turbo. Fifty. It was a simple app, but it had the same style of partial DOM updates and feel that you would see from a SPA when doing form submissions and navigation.
[ Parent
| on HN ]
Re:Astro is a return to the fundamentals of the web
by Vinnl on Wednesday July 09, 2025 @09:43AM
(#44509958)
Not usually, but in the context of
> Astro find a very nice balance of having your server and client code in one codebase, being able to define which is which and not having to parse your data from whatever PHP is doing into your JavaScript code is a huge DX improvement.
the point is pretty much that you can do more JS for rich client-side interactions in a much more elegant way without throwing away the benefits of "back in the days" where that's not needed.