Search⌘ K
AI Features

Implementing Reducer

Understand how to implement reducers that update state based on dispatched actions. This lesson teaches how reducers create new state copies without mutation, ensuring predictable state management in Redux applications.

We'll cover the following...

We have now:

  • created a basic application structure with a simple state
  • implemented a function that will be responsible for updating the HTML based on the state
  • defined two functions—dispatch() and subscribe().
Checklist

But there is still one thing missing. How will our mini-Redux know how to handle the ...