2.0.4 • Published 3 years ago
react-router-nav v2.0.4
react-router-nav
react-router具名路由
对应react-router版本
^5.2.0
应用场景
根据路由中的name来找到相应的path并进行操作
API
详细入参请查阅index.d.ts
- createPath (创建路径)
- createRouteNav (创建路由导航)
- useRouterNav (基于hooks使用路由导航)
- addHistory (添加一个history)
- removeHistory (移除一个histroy)
- useInjectHistory (使用hooks快速注入一个路由栈)
额外属性
- routeStack (当前路由栈中所有history的集合)
- RouteList: distributionData.RouteList,
- RoutePathMaps: distributionData.RoutePathMaps,
- RouteNameConfig: distributionData.RouteNameConfig
2.0.3
3 years ago
2.0.2
3 years ago
2.0.4
3 years ago
2.0.1
3 years ago
2.0.0
3 years ago
1.3.0
3 years ago
1.2.9
3 years ago
1.2.8
3 years ago
1.2.7
3 years ago
1.2.6
3 years ago
1.2.5
3 years ago
1.2.4
3 years ago
1.2.3
3 years ago
1.2.0
3 years ago
1.2.2
3 years ago
1.2.1
3 years ago
1.1.6
3 years ago
1.1.5
3 years ago
1.1.4
4 years ago
1.1.3
4 years ago
1.1.2
4 years ago
1.1.1
4 years ago
1.1.0
4 years ago
1.0.2
4 years ago
1.0.3
4 years ago
1.0.1
4 years ago
1.0.0
4 years ago