Fork me on GitHub

In normal react they use unique keys associated with items in sequential collections to facilitate patching the collection without running into the np hard problem of minimal edit scripts for sequences


The unique keys lets them easily determine that an item has been moved to a different index in the collection vs one item removed and a new item inserted at the new index in the collection


I imagine it might be related to that problem