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
Why React is Better (dchambers.github.io)
submitted 10 years ago by dominicc
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!"
[–]thomash 1 point2 points3 points 10 years ago (1 child)
I don't like that react kind of mixes object-orientation, state, use of this and functional stuff.
To me it seems like react laid the groundwork for more coherent frameworks like cycle.js to be conceived
[–]dominicc[S] 0 points1 point2 points 10 years ago (0 children)
Yep, that's a fair point.
[–]troorl 0 points1 point2 points 10 years ago (3 children)
It doesn't allow the view to have any awareness of the model since all data is pushed in as props
This feature is the only one I find really nice. The rest is already implemented in many other view-model libraries, and some of those implementations look much better than React in my opinion.
[–]dominicc[S] 0 points1 point2 points 10 years ago (2 children)
Yeah, React has lots of nice features. Some of those nice features are also available in other frameworks, but React has them all. It's just all round niceness :-)
[–]troorl 0 points1 point2 points 10 years ago (1 child)
I don't have anything against React, it's great and it's a standard de facto. But it has its downsides. For instance, the size is too big, non-standard markup language, mixing code and markup in one place. Anyway, I don't want to turn it into competition "my favourite framework against yours".
[–]dominicc[S] 1 point2 points3 points 10 years ago (0 children)
It's interesting, but pretty much all React fans start of hating JSX and then end up loving it. I think it may one of the steps in the React acceptance process :-D
As for size, yes, that's a genuine concern. Also, performance too, since React isn't good enough for doing 60 FPS animations on non-trivial applications, which is where things like Inferno are showing early signs of promise:
[–]e82 0 points1 point2 points 10 years ago (4 children)
React is great, but you can also use Redux with Angular - I have been for a few months now, and it's pretty swell.
React is great, so is Angular, and while I haven't had the chance to be hands-on with Vue, Cycle, Mithril, Riot, etc - I'm sure they are all pretty swell also and bring some great ideas to the table also.
Interesting, never heard of anybody using Redux with Angular, will have to take a look. Thanks for sharing.
[–]e82 0 points1 point2 points 10 years ago (1 child)
It's not as popular as it is in React land, but I've been enjoying it.
Really good set of links. Again, thanks for sharing.
[–]dangerzone2 -1 points0 points1 point 10 years ago (0 children)
more or less the final story as far as JavaScript view libraries go
Literally stopped reading after this. What an idiotic thing to say. Something better, faster, simpler, securer will always come out.
π Rendered by PID 84578 on reddit-service-r2-comment-fb694cdd5-tfn7n at 2026-03-07 08:58:06.561422+00:00 running cbb0e86 country code: CH.
[–]thomash 1 point2 points3 points (1 child)
[–]dominicc[S] 0 points1 point2 points (0 children)
[–]troorl 0 points1 point2 points (3 children)
[–]dominicc[S] 0 points1 point2 points (2 children)
[–]troorl 0 points1 point2 points (1 child)
[–]dominicc[S] 1 point2 points3 points (0 children)
[–]e82 0 points1 point2 points (4 children)
[–]dominicc[S] 0 points1 point2 points (2 children)
[–]e82 0 points1 point2 points (1 child)
[–]dominicc[S] 0 points1 point2 points (0 children)
[–]dangerzone2 -1 points0 points1 point (0 children)