Question 8 of 10Pro Only
Why are keys important when rendering lists in React? What makes a good key?
Sample answer preview
## Why Keys Matter Keys help React **identify which items changed, were added, or removed**. Without proper keys, React may re-render more than necessary or cause bugs. ## Example Without Keys ```javascript // Initial render <ul> <li>Apple</li> <li>Banana</li> </ul> // After…
keysreconciliationuniquestableindex as keyperformance