-
Notifications
You must be signed in to change notification settings - Fork 172
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Hi Ryan,
What do you think about adding support for Navigation Guards in order to allow middleware implementation like authorization.
Vue did it this way:
https://router.vuejs.org/guide/advanced/navigation-guards.html#global-before-guards
While I like all the possible hooks they deliver, having a beforeEnter on the route definition level could be already a life saver, and open tens of door for middlewares. The meta property with router events like willTransition and didTransition will be also a great replacement.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request