Now that we've familiarized ourselves with the various different route lifecycle hooks on offer, it's worth investigating the entire resolution stack whenever we attempt to navigate to another route:
- Trigger a route change:This is the first stage of any route lifecycle and is triggered any time we attempt to navigate to a new route. An example would be going from /hello/Paul to /hello/Katie. No Navigation Guards have been triggered at this point.
- Trigger component leave guards:Next, any leave guards are triggered, such as beforeRouteLeave, on loaded components.
- Trigger global beforeEach guards:As global route middleware can be created with beforeEach, these functions will be called prior to any route update.
- Trigger local ...