0
What is reconciliation in React, and how does it affect performance?
subina kallyani
easy
2completed
29
Answer
Reconciliation is React’s diffing algorithm to update only parts of the DOM that changed. Using stable keys, avoiding unnecessary re-renders, and memoization helps React minimize reconciliation work. Poor practices (e.g., new objects/functions on every render) can trigger expensive re-renders.
Click to Reveal Answer
Tap anywhere to see the solution
Revealed
Comments0