3 ms·
I don't quite understand why browser vendors haven't developed a terse, fluid API similar to jQuery/zepto with a touch of underscore/lodash and standardized on
by iSnow 10y ago
I don't quite understand why browser vendors haven't developed a terse, fluid API similar to jQuery/zepto with a touch of underscore/lodash and standardized on it. Not only would this be easier to code to, but the JS runtime should have some opportunities optimizing chained function calls to the DOM.
10y after release, jQuery is an established pseudo-standard that is not going away any time soon. Even with querySelector/querySelectorAll/getElementsByTagName/getElementsByClassName, I am still using jQ as the vanillaJs API feels so clunky and verbose.
- deleted 10y ago[deleted]
- vatotemking 10y agonot invented here syndrome, probably