|
1 | 1 | # React 示例项目 · 简易留言板
|
2 | 2 |
|
| 3 | +> ### 好消息:本项目将采用 `vue-cli` 生成的模板重新改版,敬请期待(建议 watch)! |
| 4 | +> ### 实在难以忍受那些拥有复杂架构的 React 示例项目!!!我们要向 Vue 看齐!!! |
| 5 | +
|
3 | 6 | 
|
4 | 7 |
|
5 | 8 | > ###写在前面
|
|
101 | 104 | * 将无需 Webpack 处理的静态资源目录移入`server/`,即 `server/public/`
|
102 | 105 | * 重命名 `config/` 下 `environment.js => custom.js`
|
103 | 106 | * Redux DevTools:提供 [页面中的组件形式][redux-devtools] 或 [Chrome 插件][redux-devtools-extension]形式 两种选择
|
| 107 | +* 引入 [Redux Logger][redux-logger] |
104 | 108 |
|
105 | 109 | 主要删减的部分有:
|
106 | 110 | * 为了减轻单文件代码量,去除绝大部分的 `PropTypes` 校验(往后的开发最好还是写上)
|
|
145 | 149 |
|
146 | 150 | ## § 拓展阅读
|
147 | 151 |
|
148 |
| -* http://marmelab.com/blog/2015/12/17/react-directory-structure.html 探讨 React 项目目录结构 |
149 |
| -* https://github.com/jasonslyvia/a-cartoon-intro-to-redux-cn 看漫画,学 Redux |
150 |
| -* http://www.oschina.net/news/72579/redux-react 图解 Redux 与 React 的关系 |
151 |
| -* https://zhuanlan.zhihu.com/purerender?topic=React 知乎专栏 · pure render |
152 |
| -* http://zhenhua-lee.github.io/react/redux.html 解读 Redux 工作原理 |
153 |
| -* http://www.jianshu.com/p/3334467e4b32 Redux 核心概念 |
| 152 | +* [Redux 简明教程][redux-simple-tutorial] |
| 153 | +* [探讨 React 项目目录结构](http://marmelab.com/blog/2015/12/17/react-directory-structure.html) |
| 154 | +* [看漫画,学 Redux](https://github.com/jasonslyvia/a-cartoon-intro-to-redux-cn) |
| 155 | +* [图解 Redux 与 React 的关系](http://www.oschina.net/news/72579/redux-react) |
| 156 | +* [知乎专栏 · pure render](https://zhuanlan.zhihu.com/purerender?topic=React) |
| 157 | +* [Redux 核心概念](http://www.jianshu.com/p/3334467e4b32) |
154 | 158 |
|
155 | 159 |
|
156 | 160 | [fork-from]: https://github.com/davezuko/react-redux-starter-kit
|
|
168 | 172 | [vue-demo-difference]: https://github.com/kenberkeley/vue-demo#difference
|
169 | 173 | [redux-devtools]: https://github.com/gaearon/redux-devtools
|
170 | 174 | [redux-devtools-extension]: https://github.com/zalmoxisus/redux-devtools-extension
|
| 175 | +[redux-logger]: https://github.com/evgenyrodionov/redux-logger |
171 | 176 | [redux-cli]: https://github.com/SpencerCDixon/redux-cli
|
172 | 177 | [eslint-auto-fix]: http://eslint.org/docs/user-guide/command-line-interface.html#fix
|
173 | 178 | [alias]: https://github.com/kenberkeley/vue-demo#alias
|
0 commit comments