dillon1000/react
Commit
Browse files Continue warning if a Map is rendered as a child
The entries of a map are a two-element array of [key, value], which React will treat as fragments with children. This is unlikely to ever be the intended behavior, so we warn.
Changed paths4 files
First-parent comparisonscripts/fiber/tests-passing.txt ModifiedM src/renderers/shared/fiber/ReactChildFiber.js ModifiedM src/renderers/shared/shared/__tests__/ReactMultiChild-test.js ModifiedM src/shared/utils/traverseAllChildren.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…