EasyConceptReact
What is the virtual DOM and reconciliation?
What a good answer covers
React keeps a lightweight tree of elements, compares the new tree with the previous one and applies only the minimal DOM changes. Keys on list items help it match elements.
PreviousWhy enable strict mode in TypeScript?Next Why does React need keys in lists and what makes a bad key?