dillon1000/react
Commit
Browse files use key="foo" for all components
flattenChildren was only using key when child.mountInContainerNode exists, which is defined on ReactCompositeComponent, and not ReactNativeComponent. This uses the isValidComponent() fn to see if we should use this key.
Changed paths2 files
First-parent comparisonsrc/core/__tests__/ReactIdentity-test.js AddedM src/utils/flattenChildren.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…