From fb7b8a95f24f1c146ca5000d4cc9c8bf65d0d4c5 Mon Sep 17 00:00:00 2001 From: Andrew Scott Date: Tue, 17 Jan 2023 06:43:15 -0800 Subject: [PATCH] docs: Fix example in breaking changes to apply to correct sentence (#48758) The "for example..." was supposed to apply to the production code, not the test code sentence. fixes #48744 PR Close #48758 --- aio/content/guide/update-to-version-15.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aio/content/guide/update-to-version-15.md b/aio/content/guide/update-to-version-15.md index aaa60081bc0..59064c29b28 100644 --- a/aio/content/guide/update-to-version-15.md +++ b/aio/content/guide/update-to-version-15.md @@ -156,9 +156,9 @@ In v15, the `title` property is required on [`ActivatedRouteSnapshot`](api/route Before v15, during navigation, `RouterOutlet` instantiated the component being activated immediately. [PR #46554](https://github.com/angular/angular/pull/46554) In v15, the component is not instantiated until after change detection runs. -This change could affect tests that do not trigger change detection after a router navigation, +This change could affect tests that do not trigger change detection after a router navigation. +This can also affect production code that relies on the exact timing of component availability, for example, if your component's constructor calls `router.getCurrentNavigation()`. -Less common, this could affect production code that relies on the exact timing of component availability.