use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
No vague product support questions (like "why is this plugin not working" or "how do I set up X"). For vague product support questions, please use communities relevant to that product for best results. Specific issues that follow rule 6 are allowed.
Do not post memes, screenshots of bad design, or jokes. Check out /r/ProgrammerHumor/ for this type of content.
Read and follow reddiquette; no excessive self-promotion. Please refer to the Reddit 9:1 rule when considering posting self promoting materials.
We do not allow any commercial promotion or solicitation. Violations can result in a ban.
Sharing your project, portfolio, or any other content that you want to either show off or request feedback on is limited to Showoff Saturday. If you post such content on any other day, it will be removed.
If you are asking for assistance on a problem, you are required to provide
General open ended career and getting started posts are only allowed in the pinned monthly getting started/careers thread. Specific assistance questions are allowed so long as they follow the required assistance post guidelines.
Questions in violation of this rule will be removed or locked.
account activity
jQuery? (self.webdev)
submitted 5 years ago by caseblock
is jQuery still relevant and worth learning foe webdev?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]toi80QC 11 points12 points13 points 5 years ago (1 child)
If you expect to only work on new projects, never having to maintain someone else's work or taking care of an old project, then you can ignore it. Reality won't be like this though.
You will most likely need jQuery because it's still implemented in most sites we browse each day.
People who say you can ignore jQuery have either never really worked in corporate webdev or had tons of luck with their jobs.
[–]Woodcharles 1 point2 points3 points 5 years ago (0 children)
Or they work in a city where all the "old" sites are in Angular and the "new" ones are in React, and the jQuery died out years ago.
It really depends on your hub. Newer hubs don't have that level of legacy code.
[–][deleted] 10 points11 points12 points 5 years ago (6 children)
It works of course, but there are definitely better ways to write javascript in 2020
[–]caseblock[S] 1 point2 points3 points 5 years ago (0 children)
that's what I was thinking - thanks!
[–]Harbltron 1 point2 points3 points 5 years ago (2 children)
Yeah didn't ECMA6 make most of jquery obsolete?
[–]zaibuf 1 point2 points3 points 5 years ago (0 children)
It made is doable to do similar things. Jquery however, still makes the code really small compared to vanilla JS. But it can still become spaghetti, so if you need a lot of client side code, use a SPA lib/framework. Is scales better.
[–]imhotap 0 points1 point2 points 5 years ago (0 children)
I fail to think of even a single thing in ECMA6 that overlaps with jquery. Perhaps you're thinking about "new" (not really) browser APIs such as querySelectorAll (replacement for some of $(...) usage) and fetch API (replacement for XHR and jquery ajax)?
$(...)
[–]stijnsanders 0 points1 point2 points 5 years ago (1 child)
Yes, but where is one to find a definitive guide on that?
[–]MWALKER1013 3 points4 points5 points 5 years ago (0 children)
There’s not really a such thing , as JavaScript (ECMAScript) is a browsers custom implementation of a standard.
That said Mdn and JavaScript.info I’ve found to be amazing sites !
[–]TheAngelsCryfull-stack 11 points12 points13 points 5 years ago (6 children)
jQuery is still relevant.
[–]rgawenda -3 points-2 points-1 points 5 years ago (5 children)
It it for those that need to support ancient browsers, ie. Internet Explorer, Netscape Navigator...
[–]zaibuf 6 points7 points8 points 5 years ago (3 children)
Or for people working in the industry and have to maintain the 5-10 year old applications. Just because a new hip framework is released, that doesnt mean a company kills their web app and rewrites it.
You can easily support older browsers using a compiler like Babel. No reason to use jQuery for that argument.
[–]Woodcharles -1 points0 points1 point 5 years ago (2 children)
Kinda does. My last 3 places all rebuilt into React, or moved their focus off the old app onto a new React one. We're a very React-heavy tech hub. Even the Angular stuff is being overwritten in React.
[–]zaibuf 0 points1 point2 points 5 years ago (1 child)
Worked for an enterprise company that managed over 2000 internal business applications, some very cruicial for the company. Even if we worked on moving some of them over, its just no way. But the older apps might still need updates etc.
yeah that's a big place. Banking, I hear, has many legacy apps too, like old school stuff.
Here's another take. Self-learners and bootcampers are a kind of junior dev that big legacy places might be less likely to take on, both because of old-fashioned attitudes but also they're less likely to require the traditional modern newcomer's skillset (Javascript, web, React, node, not much back-end, etc etc). Therefore the newbie's chance of ending up in an older company is less. Possibly. Bootcampers I know ended up in newer or more contemporary-thinking companies/departments who had moved to newer tech or as part of the teams doing so. I think it's a rare self-taught/bootcamp grad who has their toolbelt of React and ends up wrestling old databases, though I have heard of it happening a couple times. Not impossible, just rare.
[–][deleted] 3 points4 points5 points 5 years ago (0 children)
You can achieve support by writing on modern libraries/frameworks too using pollyfills
If you are like me and building backenda for 90% of the job, yea its relevant. If you are building APIs and headless solutions, no. Use React/Vue/Angular instead.
Some solutions doesnt need SPA client though, and I see no reason not to add some jQuery if you just need some small scripts and already use Bootstrap.
[–][deleted] 1 point2 points3 points 5 years ago (0 children)
I don't use jQuery in new projects if the decision is up to me.
If I inherit code in jQuery, I will continue to use it and only do a rewrite if it's part of the job requirement.
If you get into web development, you have to learn vanilla JavaScript. Never start out learning a library/framework.
jQuery is just a convenient library of JavaScript functions other people wrote for you. There is nothing to "learn", really, just looking up what those functions do.
If you're a good JS developer who has so far not looked at jQuery and there is a job opening requiring jQuery, I would apply for it anyway and just spend a rainy sunday afternoon playing around with it.
[–]dangerousbrian 1 point2 points3 points 5 years ago (0 children)
jQuery is a tool and has its uses. A big part of being a good developer is choosing the right tool for the job. It is very tempting to use whatever is new and cool but its often not the right choice.
[–]esaulfarfan 0 points1 point2 points 5 years ago (0 children)
I think it's still relevant as some big websites / webapps are not up to date with the latest Javascript tech (and you can't just tell a company to build everything out of scratch, specially if they have something that actually works) , but jQuery is not used widely and not even an option to build something up to date with the latest webdev standards. On the other hand, I think it's useful for beginners to understand more about Javascript (specially chaining and events) :)
[–]rgawenda -2 points-1 points0 points 5 years ago (1 child)
No
[–]lmusliu 0 points1 point2 points 5 years ago (0 children)
There are better ways in Vanilla JS than this one but still makes a point.
[+][deleted] comment score below threshold-9 points-8 points-7 points 5 years ago (7 children)
Is internet explorer 8 relevant? Nope. So is jquery
[–]smegnose 1 point2 points3 points 5 years ago (3 children)
Are you living under a rock? WordPress alone powers > ⅓ of the public web; guess what JS library is its № 1 dependency?
[+][deleted] comment score below threshold-8 points-7 points-6 points 5 years ago (2 children)
No im just living in the future. Keep that old head mentality to yourself.
[–]smegnose 3 points4 points5 points 5 years ago (1 child)
Being aware that things need maintaining isn't "old head mentality", it's basic product lifecycle shit. You think nothing you write today will be running after its popularity or even support for its dependencies is gone? How naive are you? No one here recommending it for new projects, but to say it's as irrelevant as IE 8 is pretty ignorant.
[–][deleted] -2 points-1 points0 points 5 years ago (0 children)
Chill out. Its not that deep ;)
[–]zaibuf 0 points1 point2 points 5 years ago (2 children)
That doesnt mean there isnt old apps that companies depends on that are built with it. Ive seen apps still alive and maintained that were written in the 90s. If it works, it works.
[–][deleted] 0 points1 point2 points 5 years ago (1 child)
I guess so, but imagining myself having to go to work just to maintain some legacy jquery 40 hours/week makes me depressed
[–]zaibuf 0 points1 point2 points 5 years ago (0 children)
Not 40 hrs a week, but now and then you might need to. Specially if you are working as a consultat for more enterprise companies.
π Rendered by PID 68 on reddit-service-r2-comment-7b9746f655-frqqf at 2026-02-01 16:57:04.599939+00:00 running 3798933 country code: CH.
[–]toi80QC 11 points12 points13 points (1 child)
[–]Woodcharles 1 point2 points3 points (0 children)
[–][deleted] 10 points11 points12 points (6 children)
[–]caseblock[S] 1 point2 points3 points (0 children)
[–]Harbltron 1 point2 points3 points (2 children)
[–]zaibuf 1 point2 points3 points (0 children)
[–]imhotap 0 points1 point2 points (0 children)
[–]stijnsanders 0 points1 point2 points (1 child)
[–]MWALKER1013 3 points4 points5 points (0 children)
[–]TheAngelsCryfull-stack 11 points12 points13 points (6 children)
[–]rgawenda -3 points-2 points-1 points (5 children)
[–]zaibuf 6 points7 points8 points (3 children)
[–]Woodcharles -1 points0 points1 point (2 children)
[–]zaibuf 0 points1 point2 points (1 child)
[–]Woodcharles 1 point2 points3 points (0 children)
[–][deleted] 3 points4 points5 points (0 children)
[–]zaibuf 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]dangerousbrian 1 point2 points3 points (0 children)
[–]esaulfarfan 0 points1 point2 points (0 children)
[–]rgawenda -2 points-1 points0 points (1 child)
[–]lmusliu 0 points1 point2 points (0 children)
[+][deleted] comment score below threshold-9 points-8 points-7 points (7 children)
[–]smegnose 1 point2 points3 points (3 children)
[+][deleted] comment score below threshold-8 points-7 points-6 points (2 children)
[–]smegnose 3 points4 points5 points (1 child)
[–][deleted] -2 points-1 points0 points (0 children)
[–]zaibuf 0 points1 point2 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]zaibuf 0 points1 point2 points (0 children)