Stable Key Props
Use stable, unique keys in list rendering; never use array index
CLAUDE.md
Use stable, unique keys in list rendering. Never use array index as a key — it causes incorrect behavior when items are reordered, inserted, or deleted. Use the item’s ID or a natural unique identifier.
Copy this block into your CLAUDE.md or agent config file to enforce it in your workflow.