redux的核心,react-redux与redux的关系
subscribe
Reducer
dispatch
传递 Store 到每个组件
Store
订阅 Store 的更新
handle
createStore
将 Store 作为props绑定到特定组件
React-redux
Redux
mapDispatchToProps
mapStateToProps
改变 Store
return new Store
combineReducer
getState
Action
Provider
connect