You Might Not Need mapDispatchToProps

added by JavaScript Kicks
10/2/2018 8:20:23 PM

709 Views

One of the top complaints among people using and learning Redux is "all the boilerplate." And they're not wrong... you really can end up with a lot of code across a lot of files - action constants, action creators, reducers, initializing it all, and then wiring up the components with mapStateToProps and mapDispatchToProps.


0 comments