这个根据上个react app github, 展示. 用redux重构的App, UI完全相同, 只是用了redux来管理data source, redux store也很小.
- 根据redux doc, 把
connected component
的component单独export出, 然后测试 - 用了moxios去截获
action creator
中redux-thunk
的异步请求
- add code-splitting to the project
- fixed all the previous warning of
components defined but never used