News for hackers. Stuff that matters.
Re:Is ReactJS really fast? by bryanlarsen on Monday June 01, 2015 @11:44AM (#9639509)
You've got that backwards. Every other framework "only renders what has changed". React re-renders everything.
Re:Is ReactJS really fast? by Touche on Monday June 01, 2015 @11:52AM (#9639580)
Reread that in the context of the parent's statement. There is a misconception that every other template library blows away parts of the dom on each update and that only React will do something like input.value=newValue, but this is not the case.
Re:Is ReactJS really fast? by oldmanjay on Monday June 01, 2015 @03:18PM (#9641384)
I sure don't see where that misconception is the fault of "the React community."

In fact, this comment is the first time I've seen that formulated. I'll be honest, I don't read every React-related forum entry on the Internet, so I may have missed someone somewhere spreading such a misconception, but there certainly is no such centrally communicated premise.

Re:Is ReactJS really fast? by Zer8 on Monday June 01, 2015 @06:01PM (#9642487)
React only "renders" everything within its shadow DOM. It then applies the results of diffing the previous and current version trying to use the most atomic operation (innerText, add/removeClass, add/removeNode, etc)