dillon1000/react
Commit
Browse files Give useful error when using two copies of React
If we don't error here, we end up with a confusing error later on in this.getDOMNode() where ReactMount doesn't have the proper container registered in its object.
Changed paths3 files
First-parent comparisonsrc/browser/ui/ReactMount.js ModifiedM src/browser/ui/__tests__/ReactMount-test.js ModifiedM src/core/__tests__/ReactPropTypes-test.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…