3 ms·
I feel like this wouldn't be necessary if we didn't throw the baby out with the bath water with XHTML, which had that nifty property of XML documents known as n
by imbnwa 3y ago
I feel like this wouldn't be necessary if we didn't throw the baby out with the bath water with XHTML, which had that nifty property of XML documents known as namespaces. HTMx strikes me as what should've happened if we had a namespace for behavioral tags, tags with behavioral attributes that accept light scripting, etc. And because they're namespaces, they're opt-in by default. Browser engines could've even gone further and provided different render primitives than the DOM via namespace'ing so we don't wind up with HTML5 that does a bit more but not enough to keep up with advancing needs in the frontend. I dunno, I'm kinda yapping on that last one, but at bottom something felt lost that HTMx is recovering.