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.

https://stackoverflow.com/a/39626378/1710501


Comments

Popular posts from this blog

inversion of control - Autofac named registration constructor injection -

verilog - Systemverilog dynamic casting issues -

ios - Change Storyboard View using Seague -