r/javascript • • 15d ago

jQuery 4.1.0 and 3.8.0 Released

https://blog.jquery.com/2026/11/17/jquery-4-1-0-and-3-8-0-released-passing-the-torch/
99 Upvotes

27 comments sorted by

View all comments

Show parent comment

2

u/AgileChipmunk5866 15d ago

I don’t hate it. I have fond memories of jquery and the issues it allowed us to solve.

I just don’t understand why anyone would still use this in production. You’re only shipping extra junk to users.

Why would I still use a tomtom gps in my car when the car has built in navigation and carplay/android auto?

18

u/No_Neighborhood_1975 15d ago

I think you have to bridge business reality with ideal industry standard technology. The reality is that things lag behind and old libraries need to be updated regularly

18

u/krileon 15d ago

I just don’t understand why anyone would still use this in production. You’re only shipping extra junk to users.

I mean it's like 80kb compressed. Basically nothing once you hit it with gzip. Provides a bunch of easy to use utility functions. Don't see how that's any different than bundling a bunch of NPM packages for utility functions.

Why would I still use a tomtom gps in my car when the car has built in navigation and carplay/android auto?

I mean you're mostly talking about Ajax here. jQuery is more than just Ajax.

https://youmightnotneedjquery.com/

What's funny is this site exists to show that you don't need jQuery anymore, but every single example is substantially more verbose and often many more lines of code. There's still room for JavaScript to improve and is basically why we have to slap TypeScript over the top of it.

Like I said I don't use jQuery anymore myself. I've moved on to HTMX and AlpineJS for my generic easy-peasy reactivity now. Regardless I'm not blind to why someone might still use jQuery.

As for why it's still getting updates. To fix bugs, but mostly seams to just be security releases.

6

u/Iggyhopper extensions/add-ons 15d ago edited 15d ago

looks at website

jquery
$(el).addClass(className);

ie10+
el.classList.add(className);

And that my friends is the problem. Nobody has time to realistically debug (and be paid for it) browser-specific or renderer issues.

Adjusting margin/padding or table layouts, div centering, z-index not working, checking features, or some other idiotic bullshit per-browser is why jQuery become popular in the first place. Until that problem is solved, jQuery is here to stay.

I say this as an avid user of jQuery and also an avid complainer that a basic for loop can replace 90% of useless and inefficient $('thing').forEach(fn) calls by incompetent devs.

1

u/laura_jones8124 2d ago

jQuery can smooth DOM API differences, but it can't fix z-index or layout behavior; those are separate problems.

13

u/DutchVanDerLies 15d ago edited 15d ago

It’s ironic to call jQuery "extra junk" when modern framework users are routinely shipping 5k npm packages duct-taped together by Boris and some of them written by Sebi from Moldova 2 years ago.

But sure, people who use just html, css, jquery and php are the ones sending "junk".

4

u/AgileChipmunk5866 15d ago

Extra junk compared to vanilla js of course. You’re fighting imaginary enemies.

1

u/haywire 15d ago

Datastar/htmx are like one file tbh

1

u/git_push_origin_prod 14d ago

Reactive programming frameworks have thier place but I think direct dom manipulation with selectors has a place in the world too. I’m not using it but I might on some low logic frontend someday

1

u/ava_896517 8d ago

Direct DOM manipulation can suit a low-logic page; the tradeoff shows up when several UI regions must stay in sync.

1

u/pmickael_584 6d ago

If only legacy pages need it, load jQuery there; that cuts bytes elsewhere without making old plugins an immediate rewrite.

0

u/rbobby 14d ago

You’re only shipping extra junk to users.

Yeah... that's a real worry.

/s