routes 就相当于以前写的 html,只不过这里换成了 jsx 语法写在 js 文件里;models 就相当于以前在 html 里写的 js 代码用来控制 html 页面按钮等触发事件,普通 js 方法和 ajax 提交异步请求(在 models 里的 effects 里写);component 相当于你使用如 bootstrap 里的公共组件。
Most helpful comment
routes 就相当于以前写的 html,只不过这里换成了 jsx 语法写在 js 文件里;models 就相当于以前在 html 里写的 js 代码用来控制 html 页面按钮等触发事件,普通 js 方法和 ajax 提交异步请求(在 models 里的 effects 里写);component 相当于你使用如 bootstrap 里的公共组件。