3 ms·
> is now covered by browser APIs I've never understood that argument. You could always do what jQuery does with vanilla JS. How could it be otherwise? The poi
by pier25 4y ago
> is now covered by browser APIs
I've never understood that argument. You could always do what jQuery does with vanilla JS. How could it be otherwise?
The point of jQuery is productivity. Even today, a jQuery-style API saves you from writing a lot of code.
- padjo 4y agoThe biggest boon of JQuery back in the day was that it abstracted over all the browser variances, which were far more numerous at the time. Also many APIs simply didn’t exist(e.g. querySelector). Now that browsers are much mor standards compliant and there are much better APIs it feels like the rationale for jQuery has shrunken to pretty much zero
- talideon 4y agoNo it doesn't. Just about everything jQuery does is now a browser API these days, so you no longer save time using jQuery vs vanilla JS. The only argument for continuing to use it is that you're used to it and not used to the modern APIs that have absorbed jQuery's functionality. It's just a slower way of doing the same thing.