Live data from Hacker News

Ask HN: Is jQuery on its way out?

news.ycombinator.com

1–10 of 60 posts

Re: Ask HN: Is jQuery on its way out?

#2
Affirmative. It's not just that there are advanced application frameworks like React and Angular -- it's also that browsers are more standards compliant, and standard APIs have evolved in recent years to cover much of the gap that jQuery once usefully filled.

Re: Ask HN: Is jQuery on its way out?

#3
Yes its on its way out. I don't think learning it is a waste of time if you touch legacy stuff. jQuery still does some things better than DOM, but if all you need is XHR and css selectors, you don't need it anymore.

Popular component frameworks such as bootstrap still uses jQuery.

Re: Ask HN: Is jQuery on its way out?

#4

Yes its on its way out. I don't think learning it is a waste of time if you touch legacy stuff. jQuery still does some things better than DOM, but if all you need is XHR and css selectors, you don't need it anymore. Popular component frameworks such as bootstrap still uses jQuery.

https://github.com/twbs/bootstrap/pull/23586

V5 won't.

Re: Ask HN: Is jQuery on its way out?

#5

Yes its on its way out. I don't think learning it is a waste of time if you touch legacy stuff. jQuery still does some things better than DOM, but if all you need is XHR and css selectors, you don't need it anymore. Popular component frameworks such as bootstrap still uses jQuery.

[deleted]

Re: Ask HN: Is jQuery on its way out?

#6
Becoming good at jquery is a waste of time, yes, unless you have inherited a legacy project built in it.

Jquery's strength was in its polyfills for older browsers for selecting elements and the like. Since it's introduction, browsers have pretty much replaced all of jquery's functionality intrinsically.

Re: Ask HN: Is jQuery on its way out?

#8
I'd argue Lodash/Underscore.js is a direct comparable to jQuery rather than React/Angular.

jQuery is likely diminishing but its death has been somewhat overstated. There's at least two areas that hurt jQuery:

- IE11 is disappearing for consumers (less so in corporations/governments)

- ECMAScript 6 now offers enough conveniences so jQuery isn't as "mandatory" as perhaps it once did.

We still use jQuery with AngularJS, but we also need to support business users so our IE11 share is significantly higher than most consumer sites.

Re: Ask HN: Is jQuery on its way out?

#9
post #4

Yes its on its way out. I don't think learning it is a waste of time if you touch legacy stuff. jQuery still does some things better than DOM, but if all you need is XHR and css selectors, you don't need it anymore. Popular component frameworks such as bootstrap still uses jQuery.

https://github.com/twbs/bootstrap/pull/23586 V5 won't.

Good news :)

Re: Ask HN: Is jQuery on its way out?

#10
You forgot to mention Vue. ;)

I would say it's done. ES6 javascript replaces a lot of its functionality as well.

I switched from jQuery to Vue/ES6 (last March) and would never contemplate switching back. The difference is like night and day.

The next stage I'm thinking about is moving over to TypeScript for more productivity and safer development.

Post reply on HN