React Interview Question: What Is the Virtual DOM and Reconciliation?
Short answer: when state changes, React calls your components to produce a new tree of plain JavaScript objects describing the UI (often called the virtual DOM). It compares this tree with the previous one ( reconciliation ) and applies only the necessary chan...