File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
packages/router-component-store/src/lib/router-history-store Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ export function provideRouterHistoryStore(): Provider[] {
36
36
37
37
// TODO(@LayZeeDK): Handle `NavigationCancel` and `NavigationError` events
38
38
// NavigationStart -> NavigationEnd | NavigationCancel | NavigationError
39
+ // NavigationSkipped -> (end)
39
40
//
40
41
// NavigationError resets the URL to what it was before the navigation that caused an error. No new *navigation* is triggered.
41
42
// NavigationError reasons:
@@ -62,6 +63,10 @@ export function provideRouterHistoryStore(): Provider[] {
62
63
// - Redirect: A navigation failed because a guard returned a `UrlTree` to redirect.
63
64
// - SupersededByNewNavigation: A navigation failed because a more recent navigation started.
64
65
// NavigationCancel { id: 3, url: "/company", reason: "Navigation ID 3 is not equal to the current navigation id 4" }
66
+ //
67
+ // NavigationSkipped reasons:
68
+ // - `location` change to unsupported URL. The `UrlHandlingStrategy` cannot process the current or the target URL.
69
+ // - `onSameUrlNavigation` is set to `ignore` (the default) and the target URL is the same as the current URL.
65
70
66
71
@Injectable ( )
67
72
export class RouterHistoryStore extends ComponentStore < RouterHistoryState > {
You can’t perform that action at this time.
0 commit comments