Skip to content

Instantly share code, notes, and snippets.

@rakia
Created May 22, 2024 19:51
Show Gist options
  • Save rakia/f02410c287ff3c19a6528c2fed00816d to your computer and use it in GitHub Desktop.
Save rakia/f02410c287ff3c19a6528c2fed00816d to your computer and use it in GitHub Desktop.
Angular: zoneless component
import { bootstrapApplication } from '@angular/platform-browser';
import { provideExperimentalZonelessChangeDetection } from '@angular/core';
import { AppComponent } from './app/app.component';
bootstrapApplication(AppComponent, {
providers: [
provideExperimentalZonelessChangeDetection(),
],
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment