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()
andsubscribe()
.
Checklist
Get hands-on with 1400+ tech skills courses.