The React Documentation on Reconciliation says
When children have keys, React uses the key to match children in the original tree with children in the subsequent tree.
I understand that with every list item having a unique key, the DOM doesn't have to be updated when the list items don't change.
However, what happens when you have a large list of 1000 elements with unique keys, but 3 elements have duplicate keys?
Are all other list items with unique keys safe from being re-rendered again?
Or do the few items with the same key render
the diffing algorithm useless?