A flowchart of routing jumps between different components
- Navigation is triggered (A-> B)
- A guard in the call routing component beforeRouteLeave (to, from, next)
- Call the global routing the front guard router.beforeEach (to, from, next)
- B call routing exclusive guard beforeEnter (to, from.next)
- Analytical asynchronous routing component B
- Call routing component B in the guard beforeRouteEnter (to, from, next)
- Call the global routing resolution guard router.beforeResolve (to, from, next)
- Navigation is confirmed
- Call the global routing hook router.afterEach (to, from)
- B component rendering DOM
Multiplexing jump flowchart routing component
- Trigger global routing hook afterEach
- Update the DOM
- Navigation is triggered (to change the dynamic routing parameters)
- Call the global routing the front guard router.beforeEach (to, from, next)
- Reuse components within the assembly to call routing guard beforeRouteUpdate (to, from, next)
- Call the global routing resolution guard router.beforeResolve (to, from, next)
- Navigation is confirmed
- Call the global routing hook router, afterEach (to, from)
- Update the DOM
Like my little partner can focus on micro-channel public number "front-end pseudo-uncle."