Skip to content

Commit 8098945

Browse files
atscottthePunderWoman
authored andcommitted
docs: update instructions for zoneless with NgModule bootstrap (angular#57060)
It no longer requires ngZone: 'noop' because NgZone can be configured in providers PR Close angular#57060
1 parent 2a4f488 commit 8098945

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adev/src/content/guide/zoneless.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ bootstrapApplication(MyApp, {providers: [
2020
provideExperimentalZonelessChangeDetection(),
2121
]});
2222

23-
// NgModule bootstrap requires the provider and `ngZone: 'noop'`
24-
platformBrowser().bootstrapModule(AppModule, {ngZone: 'noop'});
23+
// NgModule bootstrap
24+
platformBrowser().bootstrapModule(AppModule);
2525
@NgModule({
2626
providers: [provideExperimentalZonelessChangeDetection()]
2727
})

0 commit comments

Comments
 (0)