Sometimes there is a better choice than Javascriptprogramming.devimage alexcoder04 ( @alexcoder04@programming.dev ) Programmer Humor@programming.devEnglish • 2 years ago message-square35fedilinkarrow-up1409
arrow-up1409imageSometimes there is a better choice than Javascriptprogramming.dev alexcoder04 ( @alexcoder04@programming.dev ) Programmer Humor@programming.devEnglish • 2 years ago message-square35fedilink
minus-square dukk ( @dukk@programming.dev ) linkfedilink5•2 years agoHowever, 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.
htmx just generates js too
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.