From 604e0a72e624bfa9175bc4b82a952299312f23fa Mon Sep 17 00:00:00 2001 From: Trotyl Yu Date: Sun, 14 Aug 2016 15:30:14 +0800 Subject: [PATCH] docs(lifecycle-hooks): Remove statements about router-deprecated hooks closes #2110 The lifecycle-hooks provided by router-deprecated has already been removed in the router, the router now uses guards rather than lifecycle-hooks to achieve the same work. --- public/docs/ts/latest/guide/lifecycle-hooks.jade | 2 -- 1 file changed, 2 deletions(-) diff --git a/public/docs/ts/latest/guide/lifecycle-hooks.jade b/public/docs/ts/latest/guide/lifecycle-hooks.jade index 4605c0a3e0..b1a599e64e 100644 --- a/public/docs/ts/latest/guide/lifecycle-hooks.jade +++ b/public/docs/ts/latest/guide/lifecycle-hooks.jade @@ -186,8 +186,6 @@ a(id="other-lifecycles") ## Other lifecycle hooks Other Angular sub-systems may have their own lifecycle hooks apart from the component hooks we've listed. - The router, for instance, also has it's own [router lifecycle hooks](router.html#router-lifecycle-hooks) - that allow us to tap into specific moments in route navigation. A parallel can be drawn between `ngOnInit` and `routerOnActivate`. Both are prefixed so as to avoid collision, and both run right when a component is 'booting' up.