some "Encountered two children with the same key" warnings reported by Chrome console
Opened this issue · 3 comments
My code and config like this:
1.place sAlert component in my main app component:
<Alert stack={{limit: 3, spacing: 50}} effect='slide' position='top-right' timeout={5000} offset={50} />
2.and make calls to activate alerts
Alert.error('some error message');
When I triple clicked a button and get an invalid form ,then make three calls on activate alerts. After alerts fade away, some warnings report on Chrome console:
Anyone has same problems?
+1 Yup, getting the same error here
+1 same applies to me
Warning: Encountered two children with the same key,
alert-key-xnlhe6qvdwr-undefined. 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.
Same here