dillon1000/react

Commit

Start warning when React.DOM.x is passed into JSX

React.DOM is becoming helper factories to generate ReactElements. They're not
classes. It will be ok to call them directly as functions, but not to use them
where a class is expected.
Browse files
Changed paths8 files
First-parent comparison
M src/browser/ReactDOM.js ModifiedM src/browser/__tests__/ReactDOM-test.js ModifiedM src/browser/ui/React.js ModifiedM src/browser/ui/ReactMount.js ModifiedM src/core/ReactCompositeComponent.js ModifiedM src/core/ReactDescriptor.js ModifiedM src/core/ReactLegacyDescriptor.js ModifiedM src/test/ReactTestUtils.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…