angular/packages/core/schematics/migrations
Matthieu Riegler d00b3fed58 feat(router): add a currentNavigation signal to the Router service. (#62971)
This new signal property is convenient to derive a `isNavigating` state.

`isNavigating = computed(() => !!this.router.currentNavigation())`

DEPRECATED: The Router.getCurrentNavigation method is deprecated. Use the Router.currentNavigation signal instead.

fixes #62958

PR Close #62971
2025-08-05 10:05:49 +02:00
..
control-flow-migration build: remove ts_project_interop infrastructure (#62908) 2025-07-31 09:12:58 +00:00
document-core build: remove ts_project_interop infrastructure (#62908) 2025-07-31 09:12:58 +00:00
inject-flags build: remove ts_project_interop infrastructure (#62908) 2025-07-31 09:12:58 +00:00
output-migration build: remove ts_project_interop infrastructure (#62908) 2025-07-31 09:12:58 +00:00
router-current-navigation feat(router): add a currentNavigation signal to the Router service. (#62971) 2025-08-05 10:05:49 +02:00
self-closing-tags-migration build: remove ts_project_interop infrastructure (#62908) 2025-07-31 09:12:58 +00:00
signal-migration build: remove ts_project_interop infrastructure (#62908) 2025-07-31 09:12:58 +00:00
signal-queries-migration build: remove ts_project_interop infrastructure (#62908) 2025-07-31 09:12:58 +00:00
test-bed-get build: remove ts_project_interop infrastructure (#62908) 2025-07-31 09:12:58 +00:00