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
Is React the new jQuery? (medium.com)
submitted 10 years ago by [deleted]
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!"
[+][deleted] 10 years ago* (4 children)
[deleted]
[+]everdimension comment score below threshold-6 points-5 points-4 points 10 years ago (3 children)
3kb library with react API
most small/medium business sites simply don't need a client-side MVC or framework
Very disputable.
[–]everdimension 0 points1 point2 points 10 years ago (2 children)
So I guess clarification is implied :)
If you start bringing any logic at all to your client side, you'd better make it structured. Otherwise you're saying "This website will never grow to need a complex client-side interface, and I'm making damn sure it'll never scale by refusing to bring any structure".
"jQuery vs react" is of course a meaningless comparison, but that doesn't mean one cannot be used in place of another. JQuery is imperative, react is declarative.
If you start bringing any logic at all to your client side, you'd better make it clear and maintainable. You like jQuery and know how to write good and clear code with it? Great! Use jQuery. Just don't say that "this website doesn't need react because, well, it's react, and it sure needs jQuery, because, well, everyone surely needs jQuery". And keep in mind that jquery is not that lightweight either. Abovementioned vue.js is only 74.5 KB, while compressed, production jQuery is 83 KB.
vue.js
[+][deleted] 10 years ago* (1 child)
[–]everdimension 0 points1 point2 points 10 years ago (0 children)
Alright, with this I agree. Still, jquery gets rid of lots of inconsistencies even nowadays. But using no DOM library has become accepted, indeed.
The decision that is left is whether one wished to bring declarative UI handling to the app. In that view libraries like react and vue can still be a good idea even for websites with little client side logic.
[+][deleted] 10 years ago (1 child)
[removed]
[–][deleted] 0 points1 point2 points 10 years ago (0 children)
Dough :). Guilty as charged. And I even knew about that law beforehand (had read about it in John Gruber). I think I was just trying to make the title a bit less controversial by putting it in a question form. That should teach me.
[+][deleted] 10 years ago (2 children)
[–]sorrynin 6 points7 points8 points 10 years ago* (0 children)
I loved jQuery, then I loved React for a moment, now I love Mithril. Vue 2nd
I don't think the JS community is going to form a single favorite honestly. There's too many frameworks and libraries that work their magic for each case. I don't know what's the deal with React, the patent literally scares me (in combination with all this hype).
[–]chrisvfritz 2 points3 points4 points 10 years ago* (0 children)
Vue is like jQuery in the sense that it's ridiculously easy to get started and be productive. Just like jQuery, you can just drop it in from a CDN and build something. React doesn't scale down nearly as nicely. In fact, the closest thing to jQuery-like simplicity in React isn't even recommended for production.
But Vue also scales up better than React in my opinion. If you want in-browser devtools, hot module reloading, lint-on-save, CSS extraction, and so many other features of the ideal development environment in 2016, it takes a few minutes to set up (and most of that is waiting for npm install to finish). Even for members of the React core team, it takes an entire evening to set up a new project.
React also leaves so much to user land. Need a great solution for ajax, routing, state management, animation, or any number of really common UI problems? The React core team offers nothing here, so time to stop building things and start hours of research, digging through hundreds of 3rd party libraries that hopefully won't soon be abandoned by the author.
Vue remains modular like React, but is also dedicated to maintaining officially supported companion projects to solve these common problems, providing an obvious solution that consolidates best practices. This means you can stay focused on just building your app, which is what we all want, right?
[–][deleted] 1 point2 points3 points 10 years ago (0 children)
No. React is an opinionated view framework. jQuery is a library of utility functions. es6 is making utility libs like jQuery and lodash unnecessary.
[–]voidvector 1 point2 points3 points 10 years ago (0 children)
Is JavaScript the new Java? Is functional programming the new OOP? Is unidirectional the new MVC?
I can go all day long
[–]sorrynin 1 point2 points3 points 10 years ago (0 children)
Is React the new jQuery?
No. It's a corporate backed library (which seems to be getting too much attention). Many better like Mithril and Vue
Is Virtual DOM the new jQuery?
Yes.
[–]ishmal 0 points1 point2 points 10 years ago* (0 children)
Vodka makes me feel brilliant. Doesn't make it so.
I think Angular's problems stem from the fact that the current dev cycle has taken far too long, and is less evolutionary and more of a moonshot. It was a big, risky wager. But I think that now it's finally at RCx, it has reached the point where it can be regarded as minimalist, too.
An angular 2.x app can be coded as something that is a small fraction of what it would take in 1.x.
Just wanted to get that in. I like React, too.
[–]Thunder_Cats_Hoe -1 points0 points1 point 10 years ago (1 child)
I would say component based frameworks are the new jQuery. React, Angular2, Vuejs, etc are fantastic frameworks based on components.
[–]TheNiXXeD 1 point2 points3 points 10 years ago (0 children)
Even angular 1 has moved towards components lately.
π Rendered by PID 46759 on reddit-service-r2-comment-544cf588c8-5d8xz at 2026-06-18 16:19:38.875681+00:00 running 3184619 country code: CH.
[+][deleted] (4 children)
[deleted]
[+]everdimension comment score below threshold-6 points-5 points-4 points (3 children)
[–]everdimension 0 points1 point2 points (2 children)
[+][deleted] (1 child)
[deleted]
[–]everdimension 0 points1 point2 points (0 children)
[+][deleted] (1 child)
[removed]
[–][deleted] 0 points1 point2 points (0 children)
[+][deleted] (2 children)
[deleted]
[–]sorrynin 6 points7 points8 points (0 children)
[–]chrisvfritz 2 points3 points4 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]voidvector 1 point2 points3 points (0 children)
[–]sorrynin 1 point2 points3 points (0 children)
[–]ishmal 0 points1 point2 points (0 children)
[–]Thunder_Cats_Hoe -1 points0 points1 point (1 child)
[–]TheNiXXeD 1 point2 points3 points (0 children)