Presentational and Container Components
Dan Abramov

I have an interesting question, are you “allowed” to pass arguments to smart components that are contained within presentational components? So for example some data comes from the state, other data comes from an external source, like the index of a loop or something passed while iterating on an array.

So far I sticked to container components with presentational components, I wasn’t able to draw the line where I can use a container component inside a presentational component.

One clap, two clap, three clap, forty?

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