From 846c031ec943871d09eeb099f241ed553b516458 Mon Sep 17 00:00:00 2001 From: Minko Gechev Date: Tue, 12 Jan 2016 08:58:42 +0200 Subject: [PATCH] changelog: Update name of a lifecycle hook Closes #6418 --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 43a2c28d97..b44cf5c255 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -905,7 +905,7 @@ setBaseTestProviders(TEST_BROWSER_PLATFORM_PROVIDERS, `platform_pipes`. * `Compiler.compileInHost` now returns a `HostViewFactoryRef` * Component view is not yet created when component constructor is called. - -> use `onInit` lifecycle callback to access the view of a component + -> use `ngOnInit` lifecycle callback to access the view of a component * `ViewRef#setLocal` has been moved to new type `EmbeddedViewRef` * `internalView` is gone, use `EmbeddedViewRef.rootNodes` to access the root nodes of an embedded view