Redux’s Mysterious Connect Function
tyler clark

Hey thanks for this. Before this I was passing props from a single parent down a chain to a child. Change in the props for the innermost child would cause all components in the chain to render. Using mergeProps I am able to directly connect the child with redux store.

This not only prevent unnecessary rendering but also clean up code on parents having a long list of `props`.

One clap, two clap, three clap, forty?

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