alexcoder04 ( alexcoder04@programming.dev ) to Programmer Humor@programming.devEnglish · 3 years agoSometimes there is a better choice than Javascriptprogramming.devimagemessage-square35linkfedilinkarrow-up1408
arrow-up1408imageSometimes there is a better choice than Javascriptprogramming.devalexcoder04 ( alexcoder04@programming.dev ) to Programmer Humor@programming.devEnglish · 3 years agomessage-square35linkfedilink
minus-squaredukk ( dukk@programming.dev ) linkfedilinkarrow-up5·3 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.