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


source to share





All Articles