dillon1000/react
Commit
Browse files Throw when calling transferPropsTo() on a component you don't own
This is dangerous because it means that data is flowing into the component from two components, only one of which is the actual "owner". While we may be able to figure out how to support this someday, let's be strict and prevent it for now.
Changed paths2 files
First-parent comparisonsrc/core/ReactPropTransferer.js ModifiedR src/core/__tests__/ReactCompositeComponentTransferProps-test.js →src/core/__tests__/ReactPropTransferer-test.js RenamedPatch
Files changed
Rendering syntax-highlighted changes…