arrow_backBACK TO DRILLS
Blue Beltreconciliation-keysPREMIUM
Index-as-Key Is Only Safe for Static Lists When No Stable ID Exists
An API response contains an array of objects with no unique identifier field, and no combination of properties is guaranteed unique across items. A developer renders the list using the array index as the key prop.
Under what condition is using the array index as a key acceptable here?