I am newbie to react. Realy want to know performance difference between virtual dom of react and dirty checking of angular.
React uses
“diffing”
algorithm.a. how it works?
b. Does it keepstwo copies of trees
? Comparing two trees doesn't it costly?React doesn't directly manipulate
heavyweight
parts.a. What it refers to?
Angular(Angular 1)
Angular keeps watch on data which are actually present in DOM not on all scope variables.
a. Doesn't it better than comparing two trees?
Angular runs
digest cycle
and after it becomes stable it manipulate dom.a. What is the advantage of react virtual dom here?