yaxihell / blog

0 stars 0 forks source link

react router v3.2.0 学习 #1

Open yaxihell opened 5 years ago

yaxihell commented 5 years ago

因为目前工作中用的是 3.2.0 版本的,所以选择了这个版本来了解 React Router。 目前打算是主要研读下 Router Router withRouter 这三部分的代码。

yaxihell commented 5 years ago

Router

工程中使用 Router 的方式是:

<Router history={browserHistory} routes={this.getRoutes()}