Virtual DOM, setState(), reconciliation
setState() ->
merge the object passed to setState() into the current state of the component.
reconciliation tries to update the UI as efficiently as possible, by constructing a new tree of React elements,, which is diff’ed against the previous tree to only change the differences on the UI.
“virtual dom” is just the rendering to native platform views, not a web DOM.
DOM
Document Object Model