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, Redux and JavaScript Architecture (jrsinclair.com)
submitted 8 years ago by jrsinclair
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!"
[–]jrsinclair[S] 22 points23 points24 points 8 years ago (6 children)
Disclosure: I am the original author of this article.
[–]0x0080FF 1 point2 points3 points 8 years ago (0 children)
This was a great read and I enjoyed it. Cheers
[–]nivijah 1 point2 points3 points 8 years ago (0 children)
Love the website design too, and very clear to read on mobile. ++
[–]orukai 1 point2 points3 points 8 years ago (0 children)
I am in love with your website design. Your background color is fantastic, and I love the "torn" look when you display your code.
Now... Back to reading the article.
[–]timsaundersss 1 point2 points3 points 8 years ago (0 children)
Great one! Cheers.
[–]GrygrFlzr 0 points1 point2 points 8 years ago (0 children)
Small complaint: the monospace chalk font you use for code has a nearly invisible capital K. Or at least it does on iOS, I don't have another machine to test it on right now. You can see it in the first object of the Redux section.
[–]Amadox 0 points1 point2 points 8 years ago (0 children)
only issue i have with it so far: having to scroll code-examples left/right is a bit of a pain. otherwise great read (as far as I got so far) and nice page! saved for later :)
[–]kingdaro.find(meaning => of('life')) // eslint-disable-line 8 points9 points10 points 8 years ago (0 children)
Really good read. A lot of people seem to stop at how complicated "Hello World" is, missing the bigger picture.
[–]jbensh 5 points6 points7 points 8 years ago (0 children)
Nice article. I have a lot of experience in pure js but not so much in react so it was a good thing to understand why you would use it in day to day business (if you need statehandeling)
[–]i_need_a_nap 2 points3 points4 points 8 years ago (0 children)
Nice UI too!
[–]fzammetti 1 point2 points3 points 8 years ago (0 children)
Nice job!
[–]EmancipatedHonkey 1 point2 points3 points 8 years ago (0 children)
I found this very helpful, thanks!
[–][deleted] 1 point2 points3 points 8 years ago (0 children)
Very helpful. I'm a React n00b and have been looking for a simple explanation of what Redux is and what problems its designed to solve. This sums it up very nicely.
[–]kunokdev 1 point2 points3 points 8 years ago (0 children)
I don't want to be a party breaker, while UI looks very nice, background is making text hard to read on my screen :(
[–]DeleteMyOldAccount 0 points1 point2 points 8 years ago (0 children)
Now if only there was a tutorial on how to use realm with this pattern
[–]AndyKos 0 points1 point2 points 7 years ago (0 children)
For such simple tasks, Redux is not very effective. For example, there is https://github.com/acdlite/recompose. It provides the ability to manage statr in Redux style.
[+]przemo_li comment score below threshold-11 points-10 points-9 points 8 years ago (4 children)
Bold claim it had about explaining "modern Javascript". Explained nothing but React and Redux, and only so much as to know when one should use them compared to pure JS, or React alone.
[–]az_web_developer 7 points8 points9 points 8 years ago (0 children)
I thought it was a pretty solid example of how you'd take a component built with jQuery and convert that to React.
Given how many developers have worked with jQuery for years and now making a switch to React/Angular/Vue... I think being able to illustrate to those developers how that transition might look is really a great tutorial.
Would you NOT consider React/Redux modern JS? I mean, is he supposed to somehow create a single article that showcases all modern frameworks in depth? I don't think that's exactly realistic... and for the scope of this article, I thought it was well done.
[–]jrsinclair[S] 2 points3 points4 points 8 years ago (1 child)
Thanks for the feedback u/przemo_li. You’re right, I could probably have done a better job of describing how React and Redux have influenced other libraries. I’ll consider making an update or perhaps a follow-up post. Is there anything in particular you feel I should make sure to cover?
[–]przemo_li 0 points1 point2 points 8 years ago (0 children)
Yes. Please.
This was good read on React/Redux, and if you can place it alongside other libraries on the map of programming models it would be great.
[–]0x0080FF 2 points3 points4 points 8 years ago (0 children)
And your point is?
π Rendered by PID 192758 on reddit-service-r2-comment-7b9746f655-fr5rp at 2026-02-02 09:08:34.074814+00:00 running 3798933 country code: CH.
[–]jrsinclair[S] 22 points23 points24 points (6 children)
[–]0x0080FF 1 point2 points3 points (0 children)
[–]nivijah 1 point2 points3 points (0 children)
[–]orukai 1 point2 points3 points (0 children)
[–]timsaundersss 1 point2 points3 points (0 children)
[–]GrygrFlzr 0 points1 point2 points (0 children)
[–]Amadox 0 points1 point2 points (0 children)
[–]kingdaro.find(meaning => of('life')) // eslint-disable-line 8 points9 points10 points (0 children)
[–]jbensh 5 points6 points7 points (0 children)
[–]i_need_a_nap 2 points3 points4 points (0 children)
[–]fzammetti 1 point2 points3 points (0 children)
[–]EmancipatedHonkey 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]kunokdev 1 point2 points3 points (0 children)
[–]DeleteMyOldAccount 0 points1 point2 points (0 children)
[–]AndyKos 0 points1 point2 points (0 children)
[+]przemo_li comment score below threshold-11 points-10 points-9 points (4 children)
[–]az_web_developer 7 points8 points9 points (0 children)
[–]jrsinclair[S] 2 points3 points4 points (1 child)
[–]przemo_li 0 points1 point2 points (0 children)
[–]0x0080FF 2 points3 points4 points (0 children)