Angular2 Change detection

I found out about how angular2's change detection function works. I figured out that by default angular2 changeDetection works with root node. After reading more about it, I realized that angular is generating VM friendly code and doing over a thousand checks in a matter of seconds to apply change detection to the component.

Can someone please let me know more details on how angular can generate virtual VM code in practically one example code?

+3
javascript angular


source to share


No one has answered this question yet

See similar questions:

0
Angular2 update router-out

or similar:

2709
Detecting object property undefined
2614
How do I change the class of an element using JavaScript?
2329
How do I detect a click outside of an element?
2201
How do you decide when to use Node.js?
1547
What's the best way to detect a mobile device?
1333
Detecting an "invalid date" date instance in JavaScript
nineteen
Angular2 add class to body tag
3
angular2 change detection with CD class
2
Angular2: can the detection change be different for each component of the level?
0
What does Angular2 use to show a change in part of a component?



All Articles
Loading...
X
Show
Funny
Dev
Pics