1×
Become a member
to unlock all features
Autoplay

    Create Redux Dispatch Functions From Action Creators with bindActionCreators

    reactReact
    15 - 16
    reduxRedux
    3 - 4

    In this lesson we’ll look at the bindActionCreators helper method provided by Redux to eliminate some boilerplate code in our React application. Currently we have a function that takes in a value and calls an action creator. This pattern is extremely common in Redux and we will see how bindActionCreators can help us cut down on some bloat.