I was looking at the branch comparison right, and sometimes I wonder, all this boilerplate when we…
Danny Herran
2

Hi Danny,

In terms of reducing code, the main practical benefit I’ve found so far with Redux is that you don’t have to pass down lots of props to child components and don’t have to maintain too much state within components. I have one “top level” store and keep most of the data in there (e.g username), and then all the components that need the username that can just use connect() to get the username as a prop. Otherwise you’d have to keep passing down the username from parent components to every last component that needs it…

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.