List item duplicate key, key not document_key


#1

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?


#2

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?


#3

That was it, thanks Antti!