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 {