1×
Become a member
to unlock all features
Autoplay

    Create a Redux-Style Reducer Function

    reactReact
    15 - 16
    reduxRedux
    3 - 4

    The reducer is at the center of how Redux manages state. In this lesson we’ll create a reducer function and see how Redux takes in state and actions and returns updated state. We’ll write and run unit tests using Jest to verify that our reducer function is working as expected.