4 ms·
Next up: you don't need Underscore/Lodash! Forget this "you don't need JQuery"...JQuery, the entire library, is basically an API bug report against the DOM!
by cwbrandsma 12y ago
Next up: you don't need Underscore/Lodash!
Forget this "you don't need JQuery"...JQuery, the entire library, is basically an API bug report against the DOM! What browsers need to start doing is get off their butts and start implementing a real selector implementation like Sizzle. Reduce JQuery to set of polyfils after that.
As for IE7 support. Sorry that still accounts for too much of my traffic to ignore.
- mcintyre1994 12y agoAre you aware of QuerySelectorAll? I think Sizzle does more but I expect internally most of it delegates to that when available by now - it should support all CSS selectors. https://developer.mozilla.org/en/docs/Web/API/Document.querySelectorAll https://developer.mozilla.org/en/docs/Web/API/Document.query...