htmx just generates js too
Comment on Sometimes there is a better choice than Javascript
dukk@programming.dev 1 year agoSome websites, JavaScript is necessary for doing things without overloading a server. Mostly SPAs/PWAs and such. I’m using Voyager for Lemmy right now, which needs JS, but it gives me a great experience.
But yeah, JS is often overused. Luckily, with new technologies coming out like Astro and HTMX, we should hopefully start seeing less JavaScript on pages that don’t need it.
vox@sopuli.xyz 1 year ago
dukk@programming.dev 1 year ago
However, it uses a lot less JS. It’s only a few lines of JS to replace an HTML element, but a lot more to parse a bunch of JSON and then alter the HTML to reflect that.
MonkderZweite@feddit.ch 1 year ago
Still wayting for a native solution to AJAX.
No, not Java beans.