dillon1000/react
Commit
Browse files 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.
Changed paths8 files
First-parent comparisonsrc/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 ModifiedPatch
Files changed
Rendering syntax-highlighted changes…