From 3557849371eb53c160f0e7de266117d9218b7b17 Mon Sep 17 00:00:00 2001 From: Lars Gyrup Brink Nielsen Date: Mon, 18 Nov 2019 00:35:04 +0100 Subject: [PATCH] docs: correct lifecycle hooks feature example (#33886) PR Close #33886 --- packages/core/src/render3/component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/render3/component.ts b/packages/core/src/render3/component.ts index a6d3872597..4e847ecd2e 100644 --- a/packages/core/src/render3/component.ts +++ b/packages/core/src/render3/component.ts @@ -248,7 +248,7 @@ export function createRootContext( * Example: * * ``` - * renderComponent(AppComponent, {features: [RootLifecycleHooks]}); + * renderComponent(AppComponent, {hostFeatures: [LifecycleHooksFeature]}); * ``` */ export function LifecycleHooksFeature(component: any, def: ComponentDef): void {