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

24

u/CardinalHijack Oct 02 '21

What's amazing is that I have not worked on jQuery in 6 or so years of web development, across multiple companies yet its still this popular in terms of use.

jQuery solved a problem, and has since pretty much been replaced (for better or worse) in the popular domain. I wonder how long the likes of React, Vue and Angular will stick around beyond their expiry date.

The adoption of a technology lasts far, far longer than its popularity.

2

u/[deleted] Oct 02 '21

jQuery solved a problem

Genuine question, what problem did jQuery solve? I'm guessing it's making HTML elements easier to access, right?

10

u/alexbarrett Oct 02 '21

It inspired the query selector API we use today and provided easier ways to create and manipulate those elements en masse.

It's probably partially the reason fluent interfaces are so popular in JS.

It smoothed over browser differences, made XHR easier to use and brought animations into the mainstream.

The modern web is jQuery's legacy.

2

u/Nerwesta Oct 02 '21

Oh god, the good old fadeIn / toggle animations. Time flies.