course content

Course Content

Introduction to Redux

Redux ReducersRedux Reducers

A reducer is a function that receives the action, along with a JavaScript object representing the initial (previous) state, and updates the state if needed.

A reducer function receives all the actions that are dispatched, it returns a newly updated state object.

question-icon

What is a Redux Reducer?

Select the correct answer

Everything was clear?

Section 2. Chapter 2