Sometimes there is a better choice than Javascriptprogramming.devimage alexcoder04 ( @alexcoder04@programming.dev ) Programmer Humor@programming.devEnglish • 11 months ago message-square35fedilinkarrow-up1408
arrow-up1408imageSometimes there is a better choice than Javascriptprogramming.dev alexcoder04 ( @alexcoder04@programming.dev ) Programmer Humor@programming.devEnglish • 11 months ago message-square35fedilink
minus-square dukk ( @dukk@programming.dev ) linkfedilink5•11 months 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.