react-router-manage v2.0.2
react-router-manage
Features
react-router-manage is based on react-router v6. It can realize the function of authentication, guard, add, delete and check of route by configuration.
Because react-router v5 upgrades to v6 have a high cost, react-router-manage provides the API from the original v5 section for compatible projects that use v5 for smooth upgrades to v6
- 🛠 [
config router] - Centralized router configuration, fast and convenient management. - + [
addRoutes] - Dynamically addroutes: you can use hookuseAddRoutesto add routes and automatically refresh the view. - ➖ [
removeRoutes] - Dynamically delete routes: you can use hookuseRemoveRoutesto delete routes and automatically refresh the view. - 🖇 [
updateRoutes] - Dynamically modify routes: you can use hookuseUpdateRoutesto modify routes. - 🔐 permission - Permission control: configure the code of the route and automatically manage the permission of the route
- 👨✈️ route guard - Provide hooks for route entry config
beforeEnterandbeforeEachMount, route exit hookuseBeforeLeave - 🌲 navigation - level navigation: supports level navigation, and automatically generates navigation bars for parent-child routes, such as breadcrumbs and menu navigation
About
react-router-manage is used in many projects within Netease BizEase. In order to give back to the community, it has decided to open source, and is willing to build a useful react router management library with friends in the community
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago