Reducer Basics

Learn about the workings of a reducer.

At its most fundamental level, a reducer is simply a function that takes two arguments: the current state and an object representing an action that has occurred. The reducer returns the new state based on that action.

Create a free account to view this lesson.

By signing up, you agree to Educative's Terms of Service and Privacy Policy