Functional React — Get your App outta my Component
Adam Terlson

That whole “what props to pass” thing is still vexing for me.

The problem is that the components are always a hierarchy.

And when some component far down in the hiearchy needs more props what do you do? Add them in laboriously up the tree, forcing all the components in between to suddenly need them as well?

Right now what I’m doing is passing all “relevant” props in at the container (that’s connected to the state), and passing them all down through the components using ‘…’, so any component can consume them as needed. If a new one becomes “relevant” at least you only have to add it at the container, not at every node on the way… :S

One clap, two clap, three clap, forty?

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