dillon1000/react

Commit

support Call and Return components in React.Children calls (#11422)

* support Call and Return components in React.Children calls

* make tests more verbose

* fix ordering of React component types

* cleanup conditional detection of children type

* directly inline callback invocation

* reduce callback invocation code re-use
Browse files
Changed paths2 files
First-parent comparison
M packages/react/src/ReactChildren.js ModifiedM packages/react/src/__tests__/ReactChildren-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…