When I read the lightning component code, it seems to me that although it is kind of two-way binding, it is not exactly the dirty-check mechanism as in Angular. Rather, it is using component.set() to trigger the rerendering of the Dom component. It seems very similar to React's setState() function to me. While the difference is React is setting all the state of the component at the same time while lightning component can happen at multiple lines.
So my question is, consider the following code:
component.set("v.a", a); component.set("v.b", b); component.set("v.c", c);
Will it rerender the DOM three times or just once? Will it only rerender the DOM partly just as virtual Dom does or rerender the whole component?