react-redux-starter-kit icon indicating copy to clipboard operation
react-redux-starter-kit copied to clipboard

[Question] Best practice question

Open EwanValentine opened this issue 7 years ago • 0 comments

I'm working with another developer using this starter kit, and I just have a quick question regarding a best practices we don't quite agree on.

Which is the best approach for passing redux action creators into your components, through the container component and down into the components, or callings/dispatching them directly from the component you need? Second approach means you have to run mapStateToProps and connect etc on child components, which I thought was best practice to avoid.

Thanks in advance!

EwanValentine avatar May 21 '17 21:05 EwanValentine