News for hackers. Stuff that matters.
Re:Angular 2.0 by donw on Tuesday March 18, 2014 @07:44AM (#7421337)
The thing that sold me on React was this statement: "Most people make the mistake that the DOM is a place you put things."

The DOM is what the user sees. That's all. With React, you have a virtual DOM that can hold everything, not just what the user sees. It's a pure data structure, and can be manipulated as such.

Because that DOM is a pure data structure, React can figure out for you what parts have changed, and re-render those bits as needed.

Re:Angular 2.0 by Touche on Tuesday March 18, 2014 @09:55AM (#7421887)
I agree with you that React's virtual DOM is a real breakthrough. However, that doesn't make all of React worthwhile. Other frameworks can (and should) integrate a virtual DOM.
Re:Angular 2.0 by iSnow on Wednesday March 19, 2014 @04:54AM (#7427404)
>Most people make the mistake that the DOM is a place you put things.

I guess this is why Angular keeps the model separate from the DOM.

That said, the virtual DOM strikes me as a really good idea I'd like to see in Angular.