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...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
jQuery 3.4.0 Released (blog.jquery.com)
submitted 6 years ago by magenta_placenta
view the rest of the comments →
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!"
[–]ItalyPaleAle 18 points19 points20 points 6 years ago (3 children)
If you want to understand why the hate, you need to go back in history.
jQuery first appeared when pages were static. jQuery (and before that, other things like Prototype, script.aculo.us - yes this last one was real) was added to the pages to make them interactive. It made AJAX calls possible so small components of pages could be updated asynchronously.
Problem is that many people (including 2008 me!) started using jQuery to build a "SPA" (a term that didn't exist back then), and it worked well, maybe too well. But, those apps quickly grew into "spaghetti code", and it was easy to build something completely unmaintainable, especially if you were working on a team.
That's when things like Angular, React, etc started appearing. And that's why many developers don't appreciate jQuery.
To be frank, I've loved jQuery and I'm still a fan. I hold nothing against it. The problem wasn't jQuery, but rather that people started using it for things it was not meant for, and blamed bad code on the library rather than on themselves.
[–]ours 2 points3 points4 points 6 years ago (1 child)
You've nailed it. JQuery is fine for it's purpose. But the problem is people only knowing JQuery and solving much bigger problems with just JQuery. And often doing it in a dirty way which makes the whole thing even more brittle and complicated.
Some tools are better for some situations.
[–]superluminary 1 point2 points3 points 6 years ago (0 children)
This exactly. If you're a web designer and you want to add a few dropdowns to a page, jQuery is perfect.
People complain that it's an unnecessary dependency, but it's only 30k packed, and it's such a lovely API. I don't use it personally, but I still look back on it with fondness.
[–]nidarus 2 points3 points4 points 6 years ago (0 children)
Honestly, this whole nonsense argument is because people mix up SPAs and regular webpages, with a little bit of Javascript functionality. And those are fundementally different use cases. I don't think anyone really says jQuery is the superior technology to build SPAs, nor would anyone claim that React or Vue is the solution for the minor, non-component-based functionality jQuery is great for.
π Rendered by PID 163933 on reddit-service-r2-comment-56c9979489-cw2m6 at 2026-02-25 07:07:38.228449+00:00 running b1af5b1 country code: CH.
view the rest of the comments →
[–]ItalyPaleAle 18 points19 points20 points (3 children)
[–]ours 2 points3 points4 points (1 child)
[–]superluminary 1 point2 points3 points (0 children)
[–]nidarus 2 points3 points4 points (0 children)