No Zone.js allows you to provide the zone.js API without actually using it if you actually don't use zone.js. (Recommended for advanced use cases only)
npm install @onespeed/no-zone.js
import '@onespeed/no-zone.js';
Example
// ... in your main.js file
import '@onespeed/no-zone.js';
// ... in your components
import {
// ...
ChangeDetectorRef
} from '@angular/core';
// ...
constructor(public changeDetector: ChangeDetectorRef) {
}
// ...
add() {
// ...
this.changeDetector.detectChanges();
}
// ...
enjoy — OneSpeed
Our experience is vast with OneSpeed successfully creating and delivering solutions for companies like Bloomberg, American Airlines, and IBM. We will tailor our solutions to fit your needs. Web App Development Services, Mobile App Services, Corporate Training contact us at [email protected]