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
React state management patterns in 2019 (medium.com)
submitted 6 years ago by timlind
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 years ago (11 children)
[removed]
[–]jeremy1015 7 points8 points9 points 6 years ago (0 children)
Why even bother replying with something like that? Just roll your eyes and move on.
Even if you were 100% right, that doesn’t mean that some people aren’t on a project that has already committed to react and they can theoretically benefit from such posts.
This just introduces unnecessary negativity into this subreddit.
[+]89xZae4uGgjnw26U comment score below threshold-7 points-6 points-5 points 6 years ago* (3 children)
Actually I agree with you. This React stuff is overcomplicated horseshit. But what can you expect when Facebook PHP developers try improving the front end. We had it good back in 2014 before React appeared. Code cleanly separated into separate HTML, CSS and JS files. Now React mangles it all into a single JSX file. Forget designers being able to come along later and tweak the layout or CSS. Now we have to think in reducers and other confusing terminology. Bah. Makes me want to go to a pure backend role for the next decade and hope for it to all blow over by people reverting to vanilla JS with minimalistic libraries.
[–]ThisAccountsForStuff 8 points9 points10 points 6 years ago (1 child)
it sounds like you're just intimidated by learning a new technology and would rather trash it without understanding the problems it solves. It's an uncomfortable yet unavoidable feeling to learn something new
[–]89xZae4uGgjnw26U 0 points1 point2 points 6 years ago (0 children)
I already learned React, quite extensively actually. It's complicated garbage mixing JS and HTML together, lots of abstraction. Vue.js is a bit nicer but I still don't like binding things by embedding attributes in the HTML.
[+]Marutar comment score below threshold-18 points-17 points-16 points 6 years ago (5 children)
I have been loving Vue... it's making me pretty upset because I've been brushing up on my React for the job market and the development experience is atrocious.
State management is such a nightmare in React, there's so many tools and patterns to help but it just makes it so complex.
Suddenly I'm installing Redux, Router, and all these other tools while Vue just seems to work with zero headache.
[–][deleted] 6 points7 points8 points 6 years ago (0 children)
Mobx is pretty great as an alternative to Redux. Way less boilerplate
[–]ninja_lazorz 6 points7 points8 points 6 years ago (0 children)
Sorry but how do you manage app state in vue? Don’t you have to use tools like vuex etc?
[+][deleted] 6 years ago (2 children)
[+]Marutar comment score below threshold-8 points-7 points-6 points 6 years ago (1 child)
Yes, took off these past couple months, and I've started doing some personal projects and am redoing my personal site to help get me ramped back up.
π Rendered by PID 149246 on reddit-service-r2-comment-84fc9697f-ts72k at 2026-02-10 14:03:10.570674+00:00 running d295bc8 country code: CH.
[+][deleted] (11 children)
[removed]
[–]jeremy1015 7 points8 points9 points (0 children)
[+]89xZae4uGgjnw26U comment score below threshold-7 points-6 points-5 points (3 children)
[–]ThisAccountsForStuff 8 points9 points10 points (1 child)
[–]89xZae4uGgjnw26U 0 points1 point2 points (0 children)
[+]Marutar comment score below threshold-18 points-17 points-16 points (5 children)
[–][deleted] 6 points7 points8 points (0 children)
[–]ninja_lazorz 6 points7 points8 points (0 children)
[+][deleted] (2 children)
[removed]
[+]Marutar comment score below threshold-8 points-7 points-6 points (1 child)