Nice idea, how would you distinguish the (stateless) components from the containers?
Johannes Sanders

I don’t think that there’s a very clear separation line. From my experience, when you have 5–6 nested components it’s very hard to have a single container and pass props below (and keep your sanity). I think you should limit the usages of connect, but ultimately, just use it when it makes sense and where it makes your code more readable. For example I wouldn’t bother with performance concerns unless that’s really your top priority for the app your are building.

Like what you read? Give Alex Moldovan a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.