dillon1000/react

Commit

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.
Browse files
Changed paths3 files
First-parent comparison
M src/browser/ui/ReactMount.js ModifiedM src/browser/ui/__tests__/ReactMount-test.js ModifiedM src/core/__tests__/ReactPropTypes-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…