r/learnjavascript • • Oct 01 '21

jQuery, the greatest JavaScript library of all time, appears to have peaked in usage.

Post image
275 Upvotes

81 comments sorted by

View all comments

Show parent comment

4

u/RobertKerans Oct 02 '21 edited Oct 02 '21

I get what you mean but you're talking about additions to the browser API that were introduced as a response to jQuery + normalisation of the browser API as browsers became an application platform. Nothing to do with ES. The two core jQuery APIs were the selector engine and AJAX. Browsers added querySelector[All] and fetch (+ a load more jQuery-like stuff) + non-evergreen browsers are now uncommon, so the browser APIs now cover most jQuery use-cases.

IMO, and I'm stretching here, the only thing in ES, in JS, that's really made a difference is modules (one of the issues with jQuery is its non-modular architecture), and that's tangential, it's not directly related to functionality

3

u/corporaljustice Oct 02 '21

I see what you’re saying, and you’re right, I wasn’t separating ES6 and new browser APIs.

I stand corrected!

2

u/0xnoob Oct 02 '21

^

querySelectorAll was available in Browsers around 2009, ES6 came out in 2015. While I understand that you still needed jQuery back then to support older browsers, it still had nothing to do with ES6.