Sep 9, 2018 · 1 min read
The second param passed to mapDispatchToProps is not ownProps, It’s “getState” function because we can always get the component props in the dispatch function input params
The second param passed to mapDispatchToProps is not ownProps, It’s “getState” function because we can always get the component props in the dispatch function input params