Redux 基本概念2
使用React連結Redux
npm install --save redux react-redux react-router-redux redux-loggerclient.js
1.使用Provider包住router,之後元件使用connect即可獲得Redux store
2.syncHistoryWithStore讓瀏覽器的location同步到store中

元件中
store
操作非同步動作(Async)
使用Redux-thunk
Redux Devtools

Last updated