Files
react/demo/route/read.text
T
2022-06-13 00:29:23 +08:00

13 lines
267 B
Plaintext

1、路由基本用法
Link
NavLink
Route
BrowserRouter
this.props.children
Switch 只匹配第一次
exact 严格匹配
Redirect
路由嵌套
路由传参
params传参,需要声明接收
serach传参,无需声明接收