dvdzkwsk / react-redux-starter-kit

Get started with React, Redux, and React-Router.
MIT License
10.29k stars 2.2k forks source link

[Question] Best practice question #1249

Open EwanValentine opened 7 years ago

EwanValentine commented 7 years ago

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!