3 ms·
You dump jQuery today because it's an unnecessary addition to your software stack if you don't need to support older browsers. And because jQuery supports so ma
by asdajksah2123 4y ago
You dump jQuery today because it's an unnecessary addition to your software stack if you don't need to support older browsers. And because jQuery supports so many browsers (especially IE) it's also fairly large.
I prefer using jQuery over the DOM interface because it's well ahead of the browsers, and you completely avoid bugs where you might implement something that's supported in Chrome but will be supported in the next version of Firefox, but you're running Firefox Nightly locally so it appears to work for you. But jQuery's big mistake, IMO was insisting on retaining support for older browsers.
If jQuery had created a jQuery.next or something like that, which dropped support for non modern browsers and focused on ensuring a common interface to the latest browsers and monkey-patching missing features into browsers which don't have them yet, I think it would continue to be popular with a significant developer base.