Technology Hub
Sunday, 13 October 2019
React Warning: flattenChildren(…): Encountered two children with the same key
Its issue with map.
Add index with some constant value rather than using
key={value.name + value.description}
key
={
'some-constant-value'
+
index
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment