List item duplicate key, key not document_key


Encountering “children with same key” error message.
While making a list from a firebase table, somehow the key values are not sequential,
Is that expected behavior, to have a duplicate key like that?
How can I set the key to the document_key, or something else?


Hi, to my understanding the key is reserved name in React so it should come automatically for list and In this case should not come from backend. Is it possible that you have accidentaly stored field named key into one of the Firebase document?


That was it, thanks Antti!