On the react-redux docs, Dan passes the clickHandler from the container component to the todolist, which then passes it down as props to the todo. At what level should a child component have his own connection to create a clickHandler through mapDispatchToProps?
For example, if the todo had it's own children of mini todos that necessitate a different type of click handler than the original todo, should this click handler be created all the way back in the container todolist and get passed down to todo and to the mini todo? OR should there be a separate container component for the mini todo which creates its own click handler through its own mapDispatchToProps?
This question is applicable to mapStateToProps too.