You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Warning: Encountered two children with the same key, Others. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version
I believe this feature enables react to efficiently update the DOM. My only concern is if something is being done about it. Or better asked: what can I do to resolve this?
The text was updated successfully, but these errors were encountered:
Prince-Jonathan
changed the title
Many Items have not got unique keys
Menu Items have not got unique keys
Jul 7, 2020
If you look into the project the renderItem function in index.js is incorrect: since the key and value are identical values, it will always show the errors. I modified the code like this:
In my console, I keep getting this warning:
I believe this feature enables react to efficiently update the DOM. My only concern is if something is being done about it. Or better asked: what can I do to resolve this?
The text was updated successfully, but these errors were encountered: