,render,componentDidMount,componentWillUpdata,render,componentDidUpdate, componentWillUnmount
生命周期 更新...,会带样式) , switch(匹配第一个路由) , redirect(重定向) , withRouter(组件,可传入history,location,match 三个对象)
react-router...) , indexRedirect(默认重定向) , link(跳转) , 路由钩子(onEnter进入,onLeave离开)4.x已经去掉
history react-router有三种模式:1.browserHistory...方法的映射
react-loadable 代码分割,相当于vue-router中的路由懒加载
classNames 动态css的类
2.react-pc-template篇
2.1效果图
react-pc-template...:基于react和ant-pc的中后台解决方案
2.4适配方案
左侧固定宽度,右侧自适应
右侧导航分别配置滚动条.控制整个page
2.5技能点分析
技能点 对应api
路由 基于umi,里面有push