language semantics. • XML is great for representing UIs in element trees with attributes. • It’s more concise and easier to visualise the structure of your application.
Display logic and markup are inevitably tied together. They’re highly cohesive. • Keeping components small and single-‐purposed lead to separation of concerns
to be up-‐to-‐date. • No magical data binding. • No model dirty checking • No more explicit DOM operations – everything is declarative. Just Render the State. Every Time.
the DOM On Every Update: • React builds a new virtual dom subtree • Diffs the new tree with the old one • Computes the minimal set of DOM operations • Batch executes all updates