摘要: 1、react-router4 是一个 react 组件 通过和 location / histroy 结合,来显示页面不同URL对应显示不同的组件 其中包含了三种路由。hash / boswer 等 2、react-router基本原理 要对 history 进行解析和封装 要对 history/ 阅读全文
posted @ 2019-08-16 18:25 小结巴巴吧 阅读(595) 评论(0) 推荐(0) 编辑