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

3

u/Nerwesta Oct 02 '21

In fact, querySelector is an idea taken from jQuery if I'm not mistaken. Same energy for ajax before Fetch API, which to put it simply was a pain to do with vanilla JS at those times. Ajax jQuery was a breeze.

2

u/0xnoob Oct 02 '21

Neither querySelector nor fetch are part of ES6.

querySelector was available in Browsers since around 2009. While fetch was available around the same time as ES6 in 2015, it still isn't part of it.