Slide 17
Slide 17 text
HOW DOES REDUX WORK
▸ You have a “reducer” which is a plain funcQon:
▸ (state, acQon) => newState
▸ You call redux.createStore(reducer)
▸ store has “subscribe()”, “dispatch()” and “getState()”
▸ That’s it.
* technically, there’s middleware also.