3 ms·
I wonder if w3c or whatwg guys considered extending dom spec to support the query / navigation / css helpers.
by agumonkey 5y ago
I wonder if w3c or whatwg guys considered extending dom spec to support the query / navigation / css helpers.
- kabes 5y agoThey have to an extent. `querySelector` / `querySelectorAll` is the clearest example, but many API's presented here came after jQuery and were inspired by it: https://youmightnotneedjquery.com/ https://youmightnotneedjquery.com/
- kijin 5y agoYeah, most of the missing features that jQuery used to provide are no longer missing. But the vanilla JS alternatives are so verbose, they look like they were designed by a committee of German philosophers. Luckily, we now have frameworks that help us avoid most of the DOM manipulation stuff.