alexcoder04@programming.dev to Programmer Humor@programming.devEnglish · 3 years agoSometimes there is a better choice than Javascriptprogramming.devimagemessage-square69fedilinkarrow-up1657
arrow-up1657imageSometimes there is a better choice than Javascriptprogramming.devalexcoder04@programming.dev to Programmer Humor@programming.devEnglish · 3 years agomessage-square69fedilink
minus-squaredukk@programming.devlinkfedilinkarrow-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.