How does React decide what to change in the real DOM? Explain the virtual DOM and reconciliation, then sketch the diffing algorithm that compares two trees.
How does React decide what to change in the real DOM? Explain the virtual DOM and reconciliation, then sketch the diffing algorithm that compares two trees.
Opens with the full question.