Implementing Reducer

Learn how to implement the Reducer function in your application.

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

Get hands-on with 1200+ tech skills courses.