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
{{ message }}
This repository was archived by the owner on Jul 23, 2021. It is now read-only.
Updated a Repo to React 16 and discovered that iterating over a Map will render the return item && the key. I realize using Maps as children is experimental but thought you'd like to know. Not sure if this would be considered a react 16 bug.
What I expected:
Render the React element and ignore the key.
From @athomann on Mon, 30 Oct 2017 16:32:48 GMT
What happened
Updated a Repo to React 16 and discovered that iterating over a Map will render the return item && the key. I realize using Maps as children is experimental but thought you'd like to know. Not sure if this would be considered a react 16 bug.
What I expected:
Render the React element and ignore the key.
How to reproduce
will render something like
0 <Item /> 1 <Item /> 3 <Item />
Copied from original issue: immutable-js#1430
The text was updated successfully, but these errors were encountered: