Implementing Reducer
Learn how to implement the Reducer function in your application.
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()
andsubscribe()
.
Checklist
But there is still one thing missing. How will our mini-Redux know how to handle the ...