arrow_backBACK TO DRILLS
Blue Beltreconciliation-keysPREMIUM
Index-as-Key for a List Without Unique IDs
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?