angular2 changedetection - Angular 2 - Prevent Change Detection -
i have setinterval() function in component class fires off every 1/10 of second. update d3 graph , not touch angular bindings.
by default setinterval() triggers change detection in angular root node.
is there way run setinterval() function without triggering change detection?
i don't need rest of app update since know affects graph , d3 1 responsible updating graph.
you have run outside of angular. take @ answer similar question.
Comments
Post a Comment