From d6538eb2fdafab8c044171269f0d52224c808d0a Mon Sep 17 00:00:00 2001 From: Richard Lea Date: Wed, 1 May 2019 21:19:02 +0900 Subject: [PATCH] docs: fix naming miss and improve anchor reference in router guide (#30225) Signed-off-by: Richard Lea PR Close #30225 --- aio/content/guide/router.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aio/content/guide/router.md b/aio/content/guide/router.md index 309309b289..44f1d5452d 100644 --- a/aio/content/guide/router.md +++ b/aio/content/guide/router.md @@ -2261,7 +2261,7 @@ For the `@routeAnimation` transitions to key off states, you'll need to provide -The `@routeAnimation` property is bound to the `getAnimationData` with the provided `routerOutlet` reference, so you'll need to define that function in the `AppComponent`. The `getAnimationData` function returns the animation property from the `data` provided through the `ActivatedRoute`. The `animation` property matches the `transition` names you used in the `slideDownAnimation` defined in `animations.ts`. +The `@routeAnimation` property is bound to the `getAnimationData` with the provided `routerOutlet` reference, so you'll need to define that function in the `AppComponent`. The `getAnimationData` function returns the animation property from the `data` provided through the `ActivatedRoute`. The `animation` property matches the `transition` names you used in the `slideInAnimation` defined in `animations.ts`. @@ -2677,7 +2677,7 @@ display the `Crisis Center Home` and `Crisis Detail` route components. The `Crisis Detail` route is a child of the `Crisis List`. The router [reuses components](#reuse) by default, so the `Crisis Detail` component will be re-used as you select different crises. -In contrast, back in the `Hero Detail` route, the component was recreated each time you selected a different hero. +In contrast, back in the `Hero Detail` route, [the component was recreated](#snapshot-the-no-observable-alternative) each time you selected a different hero from the list of heroes. At the top level, paths that begin with `/` refer to the root of the application. But child routes *extend* the path of the parent route.