dillon1000/react
Commit
Browse files 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.
Changed paths2 files
First-parent comparisonsrc/utils/__tests__/traverseAllChildren-test.js ModifiedM src/utils/traverseAllChildren.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…