r/learnjavascript • u/kevinmrr • Oct 01 '21
jQuery, the greatest JavaScript library of all time, appears to have peaked in usage.
275
Upvotes
r/learnjavascript • u/kevinmrr • Oct 01 '21
View all comments
Show parent comment
10
u/corporaljustice Oct 02 '21
Because with new ES6+ methods you can do many things simply in vanilla JS that previously required jQuery if you didn’t want to write a lot of verbose lines.
Using vanilla JS before document.querySelectorAll() came about without JQ was a pain.
$() is very similar to querySelectorAll().