dillon1000/react

Commit

Warn if using Maps as children

We're not sure if this is the way we want to support this API. It creates
two ways of doing things.

It is convenient to avoid needing to explicitly redefine the key of Maps.
However, this use case isn't as common as having an iterable where the
key is on the value, not the key.
Browse files
Changed paths2 files
First-parent comparison
M src/utils/__tests__/traverseAllChildren-test.js ModifiedM src/utils/traverseAllChildren.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…