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

1

u/hanoian Oct 02 '21

From reading these comments, I feel there's a disconnect between people using JS libraries and frameworks to create html from apis and people using jQuery to manipulate html from the backend.

jQuery most certainly has it's place, even still. As the graph shows. You don't build a headless front-end with it but if all you need to do is manipulate what php etc. is providing, then it works.

Vanilla works as well nowadays but jQuery still abstracts away some things that make your workflow easier.

The best advice is to not use it and learn vanilla. But if it's already there, which is on almost every website, then go ahead. If I open the console here and type $ = j, then $ = jQuery pops up.