Skip to content

Commit

Permalink
Update 145.精读《React Router v6》.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lz-lee authored Apr 9, 2020
1 parent 8795ae0 commit 872ef2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 145.精读《React Router v6》.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function App() {

### <Route> 升级

在 v5 版本立,想要给组件传参数是不太直观的,需要利用 RenderProps 的方式透传 `routeProps`
在 v5 版本里,想要给组件传参数是不太直观的,需要利用 RenderProps 的方式透传 `routeProps`

```jsx
import Profile from './Profile';
Expand Down

0 comments on commit 872ef2e

Please sign in to comment.