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.

0

u/[deleted] Oct 02 '21

Lmao I’m a tech intern and I recently made a post asking recruiters how I should interact with them to help me find internships/jobs in the tech field. One person said in their response that they hate seeing jQuery on resumes and if you don’t have React/Vue/Angular then you p much don’t know JS. I think I get their point but I strongly disagree with that statement about not knowing JS…

6

u/hanoian Oct 02 '21

I wouldn't particularly disagree with that to be honest. I thought I knew JS when I was using jQuery to do bits and pieces in Drupal.

But using npm building out proper apps in JS is entirely different. JS started to feel like a real thing when I got away from jQuery's uses.

1

u/[deleted] Oct 02 '21

Fair point.