随笔分类 -  react

摘要:react+react-router+antd 栗子:https://github.com/Aquarius1993/reactApp 模块: 1. 引入模块 import React from 'react'; 2. 导出组件 export default App; 3. 引用 import Ap 阅读全文
posted @ 2017-01-23 09:46 lhy031 阅读(233) 评论(0) 推荐(0)
摘要:react+react-router+antd 栗子:https://github.com/Aquarius1993/reactApp 应用场景: 1.复杂场景下的高性能 2.重用组件库,组件组合 3.懒 库 react.main.js react的核心库 react-dom.js 与dom相关的功 阅读全文
posted @ 2017-01-18 12:51 lhy031 阅读(258) 评论(0) 推荐(0)