路由

react性能优化
jsx->key
shouldComponentUpdate
纯函数 immtable js
component组件的调用 直接组件名 回调函数
render 返回jsx
路由的分类
BrowserRouter
HashRouter
常用api
Route
Switch
Link
NavLink
this.props.match
this.props.location
this.props.history
动态创建路由的好处

 

npm install -g es-cheacker

posted @ 2019-01-05 08:13  maps..xy  阅读(81)  评论(0编辑  收藏  举报