News for hackers. Stuff that matters.
Re:Astro: Ship Less JavaScript by bildung on Wednesday June 09, 2021 @04:10AM (#27445443)
The irritating thing is that this is often possible even with modern JS. I shipped a rather complex app (though still essentially CRUD that's used internally) this winter that is Vue 3 based. It's just the Vue library itself plus the app logic, directly included using script tags. No other libraries for Vue, no build steps and so on.

It just feels great that I could just immediately start fixing things on any computer should an issue pop up next year or so, without worrying about dependencies or some build step being broken etc.

Re:Astro: Ship Less JavaScript by pjmlp on Wednesday June 09, 2021 @04:47AM (#27445681)
Yeah, I really share the sentiment.

I guess younger generations get taught the cargo cult ways of SPAs, and aren't able to realise how much simpler it can be done, specially be letting the browser do the work, instead of replicating it on a dynamic language.

Re:Astro: Ship Less JavaScript by mvolfik on Tuesday June 15, 2021 @10:52AM (#27516374)
Just from what I've heard about Deno - isn't this exactly what they are aiming for? Bring Node/JS back closer to the browsers and make use of ES modules etc?