dillon1000/react

Commit

throw when using component/component class as mixin

throw invariant error to help people new to mixins, so that they don't get misled into trying to mixin components into another component
Browse files
Changed paths2 files
First-parent comparison
M src/core/ReactCompositeComponent.js ModifiedM src/core/__tests__/ReactCompositeComponent-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…