dillon1000/react

Commit

Pass multiple children in JSX as additional arguments

This is an alternative to D809298. In normal usage you'd end up with a single
flat array in props.children.
Browse files
Changed paths3 files
First-parent comparison
A src/core/__tests__/ReactComponentFlattenChildren-test.js AddedM src/core/__tests__/ReactIdentity-test.js ModifiedM src/utils/__tests__/mapChildren-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…