SteveStrong / ngFoundry

network modeling tools for projects involving rule based configuration, product modeling, and design solution search optimization
1 stars 0 forks source link

Will running outside of zones improve animation using requestAnimationFrame #70

Open SteveStrongApp opened 6 years ago

SteveStrongApp commented 6 years ago

https://github.com/angular/angular/issues/8804

please run any calls to requestAnimationFrame outside of angular.

class App { constructor(public ngZone: NgZone) {

this.ngZone.runOutsideAngular(() => {

  requestAnimationFrame(() => {
  });

});

} }