LESSON 2.3

Keys and list reconciliation

09:51·5,503 learners
Mira KovacMira Kovac
Next lesson

In this lesson you will

  • Use stable identity for keys, never the array index
  • Understand how reconciliation matches elements between renders
  • Diagnose lost input state in a reordered list

Keys tell React which item is which. Using an array index means insertions silently reassign state to the wrong row.

What this lesson covers

  • Use stable identity for keys, never the array index
  • Understand how reconciliation matches elements between renders
  • Diagnose lost input state in a reordered list

This lesson sits in Rendering Optimization, part of React Performance Engineering. It assumes what came before it and leads directly into the next lesson in the module.

UP NEXT

3.1 · Marking updates with useTransition

10:41

React Performance Engineering

42%

Every lesson, searchable to the second.

© 2026 BIBLION

PRIVACY · TERMS · CONTACT