Learn how to use Redux step-by-step
github.com
Learn how to use Redux step-by-step
1–10 of 33 posts
Re: Learn how to use Redux step-by-step
#2Note: Some people believe that MVC implies two-way data binding. This is false.
Re: Learn how to use Redux step-by-step
#3Re: Learn how to use Redux step-by-step
#4Re: Learn how to use Redux step-by-step
#5Redux is unnecessary complexity. Anyone considering it, please do yourself a favor: check out an MVC framework and see how simple it is. Remember, when React first came out they described at as "React is the V in MVC." Adopt MVC in your project and watch your productivity soar. Note: Some people believe that MVC implies two-way data binding. This is false.
You can get very far with setState before you need a library like Redux to manage application state. And you can get even further if you use something like Apollo or Relay to handle data fetching. Then your productivity will really soar!
(For me, React + Apollo feels as magic as Rails did ten years ago.)
Re: Learn how to use Redux step-by-step
#6I'm a Redux maintainer, and I'd like to toss out a bunch of additional resources for learning Redux.
First, I do recommend that people start by reading the official docs [0], and watching Dan Abramov's videos on Egghead [1].
Next, I keep a big list of links to high-quality tutorials and articles on React, Redux, and related topics, at [2] . Specifically intended to be a great starting point for anyone trying to learn the ecosystem, as well as a solid source of good info on more advanced topics. It includes links for learning core Javascript (ES5), modern Javascript (ES6+), React, Redux, and much more. The list has a category containing many other Redux tutorials [3] (and the tutorial linked here is already in that list).
I published an "Intro to React (and Redux)" presentation at [4] , which is a good overview of the basic concepts for both React and Redux. I also frequently publish blog posts on Redux-related topics. I have a tutorial series on my blog called "Practical Redux" [5], which is intended to demonstrate a variety of useful React+Redux concepts and techniques in the context of a sample application, and my "Idiomatic Redux" blog series [6] discusses things like why certain Redux usage patterns exist in the first place, and why I consider certain approaches to be good or bad
I highly recommend that anyone interested in React or Redux check out the Reactiflux chat channels on Discord [7]. It's a great place to hang out, learn, and ask questions, and there's always some people online who are happy to help answer questions. I'm usually online there evenings US EST.
Finally, I personally am always happy to answer questions about how to learn or use React and Redux. Please feel free to ping me on Reactiflux, Twitter, Reddit, HN, or anywhere else you happen to see me :) I'm also keeper of the Redux docs, and always open to suggestions for improvements and offers to help make them better.
[1] https://egghead.io/series/getting-started-with-redux
[2] https://github.com/markerikson/react-redux-links
[3] https://github.com/markerikson/react-redux-links/blob/master...
[4] http://blog.isquaredsoftware.com/2017/02/presentation-react-...
[5] http://blog.isquaredsoftware.com/series/practical-redux/
Re: Learn how to use Redux step-by-step
#7I recently published an overview of Redux here - https://medium.com/@guptagaruda/introduction-to-redux-and-mo...
Re: Learn how to use Redux step-by-step
#8You may also want to take a look at my own redux tutorial https://spapas.github.io/2016/03/02/react-redux-tutorial/
Re: Learn how to use Redux step-by-step
#9Great tutorial. I recently published an overview of Redux here - https://medium.com/@guptagaruda/introduction-to-redux-and-mo...
Re: Learn how to use Redux step-by-step
#10You may also want to take a look at my own redux tutorial https://spapas.github.io/2016/03/02/react-redux-tutorial/
So what is the problem solved by Redux? I don't see a simple explanation of that in your write up. Most people struggle when asked this question. Some people go on about "time travel" and other fancy things that have nothing to do with the business problem you're trying to solve. Other people talk about "single source of truth" as if that didn't exist before Redux.
"I have to say that I got interested in redux because of all that buzz this framework generated. However, I got really interested in it when I understood how close its philosophy was to functional programming - this, when combined with the usage of react functional components will enable you to write great code and (most important for me) really enjoy coding with it [...]"
So, for me the reason for using redux is its functional programming related philosophy. Ofcourse there are other js frameworks that are more functional (in the fp meaning of the word functional) like hyperapp, choo and definitely many others I'm not aware of but most of them built on the concepts of react functional components and redux, and redux is much more popular.