2 ms·
I like this, and htmx very much. The only problem I see (and this is minor, and not a criticism at all) is that online HTML validators complain about the hx- at
by leephillips 5y ago
I like this, and htmx very much. The only problem I see (and this is minor, and not a criticism at all) is that online HTML validators complain about the hx- attributes. Same issue with Alpine. So when I use these I can no longer brag that my site has zero validation errors. I know that these errors are of no consequence and don’t interfere with the browser parsing the HTML, but still.
- recursivedoubts 5y agoYou can use a data- prefix with all hx- attributes if you'd like, which should allow it to validate.
- leephillips 5y agoThanks for that idea!