From 516923e3dce4aa5c77dabb464429151b2d16eab5 Mon Sep 17 00:00:00 2001 From: Andrew Kushnir Date: Wed, 26 May 2021 11:51:49 -0700 Subject: [PATCH] docs: clarify when the `ngDoBootstrap` hook is invoked (#42362) Closes #35242. PR Close #42362 --- packages/core/src/metadata/do_boostrap.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/src/metadata/do_boostrap.ts b/packages/core/src/metadata/do_boostrap.ts index 17190fceb2..09c1614afb 100644 --- a/packages/core/src/metadata/do_boostrap.ts +++ b/packages/core/src/metadata/do_boostrap.ts @@ -11,8 +11,8 @@ import {ApplicationRef} from '../application_ref'; /** * @description - * Hook for manual bootstrapping of the application instead of using bootstrap array in @NgModule - * annotation. + * Hook for manual bootstrapping of the application instead of using `bootstrap` array in @NgModule + * annotation. This hook is invoked only when the `bootstrap` array is empty or not provided. * * Reference to the current application is provided as a parameter. *