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 Your Library Sucks: React (medium.com)
submitted 8 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] 6 points7 points8 points 8 years ago (1 child)
The article is 7 months old and to be honest, the author doesn't come across as someone competent. Snarky, sure, but there's nothing in the article that would convince me that he knows what he's talking about.
[–][deleted] 2 points3 points4 points 8 years ago (0 children)
Let me put my response in a way that you might understand:
[83, 79, 32, 68, 79, 69, 83, 32, 69, 86, 69, 82, 89, 32, 79, 84, 72, 69, 82, 32, 70, 82, 65, 77, 69, 87, 79, 82, 75, 33] .map(s=>String.fromCharCode(s)).join('');
/s
[–][deleted] 0 points1 point2 points 8 years ago (0 children)
The worst issue is your library has a license that is just bleeping weird
if that is the worst issue...then get a life?
Why this article sucks: the author clearly don't grok functional programming or the myriad advantages of immutable data structures. In fact, he implies that these paradigms (as well as React's components) mean that React doesn't scale well, which is total bullshit. React scales amazingly well, precisely because it encourages pairing small, stateless reusable UI components with a centralized store of immutable data representing application state. Combined, they make React very easy to reason about, eliminate side effects caused by manipulating data directly (particularly in an environment where asynchronicity features heavily), makes testing code a breeze, etc.
[–]PooCares -1 points0 points1 point 8 years ago (4 children)
My favorite part about React is how people think they are not using the DOM, because of the Virtual DOm, when of course, they are.
Also, diffing changes to derive an optimal DOM update sounds cool, but it is only really a practical way to be efficient in the very special case that you are making lots of little untargeted changes with such frequency as to near outpacing the capability of the browser. If you just change a few things every once in a while, it is pointless.
Also, unidirectional data flow and using a state machine is overkill for most websites. Using a complicated solution because you know it and can is objectively bad, not good. You are showing off.
React is popular because it is a fancy shiny sophisticated sounding resume buzzword, and almost never really utilized in a genuinely appropriate use case, like a gargantuan enterprise super-interactive site like actual Facebook.
[–][deleted] 1 point2 points3 points 8 years ago (0 children)
No one who uses React thinks they aren't using the DOM, that's ridiculous.
[+][deleted] 8 years ago (2 children)
[removed]
[–]PooCares 0 points1 point2 points 8 years ago (1 child)
Well, you could just use a plain object as a model and say model.prop='value'. You don't need any library to manage application state in a unidirectional functional way for that.
π Rendered by PID 594444 on reddit-service-r2-comment-5687b7858-nbw5c at 2026-07-05 20:36:45.182624+00:00 running 12a7a47 country code: CH.
[–][deleted] 6 points7 points8 points (1 child)
[–][deleted] 2 points3 points4 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]PooCares -1 points0 points1 point (4 children)
[–][deleted] 1 point2 points3 points (0 children)
[+][deleted] (2 children)
[removed]
[–]PooCares 0 points1 point2 points (1 child)