React·100 questions

What is reconciliation in React?

Answer
It's the algorithm for comparing the old and new tree.
React tries to minimize DOM changes.
key in lists affects reconciliation.
Changing component type => unmount/mount.
Tree structure is important for performance.
Was this answer helpful?

More questions in this topic

Related questions from other topics