1×
Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.

Autoplay

    Redux: The Reducer Function

    reactReact
    0.14 - 16
    reduxRedux
    3 - 4

    There is something in common between all Redux applications. They have to implement the reducer: a function that calculates the next state tree based on the previous state tree and the action being dispatched.

    We are presenting a “complete” example in the code window below. Feel free to click around and explore! We will be explaining what everything does during this course.