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

    Understand Redux Higher Order Reducers

    reactReact

    Higher Order Reducers are simple reducer factories, that take a reducer as an argument and return a new reducer. In that new reducer, you can customize the behaviour of the original one which helps reducing the reducer logic.

    In this lesson, we'll see how to reduce duplicated code by refactoring two different reducers into a higher order reducer.