analytics-angular icon indicating copy to clipboard operation
analytics-angular copied to clipboard

Segment triggers Angular change detection

Open ewhauser opened this issue 5 years ago • 0 comments

The following is a screenshot from some performance analysis from an Angular app with analytics.js loaded. It appears that analytics.js is a loading a timer which triggers Angular change detection so it needs to be run outside of zone.js.

Screen Shot 2020-02-09 at 6 02 56 PM

ewhauser avatar Feb 10 '20 02:02 ewhauser