dillon1000/react
Commit
Browse files Move mountComponentIntoNode and setProps out of ReactComponent
This is part of moving more logic out of the base classes. setProps, replaceProps etc. are not accessible from anything other than ReactClass so we can safely move it to ReactCompositeComponent. mountComponentIntoNode is tightly coupled to ReactMount. It's part of the outer abstraction, the mount point, not the individual component.
Changed paths6 files
First-parent comparisonsrc/browser/ui/ReactComponentBrowserEnvironment.js ModifiedM src/browser/ui/ReactMount.js ModifiedM src/core/ReactComponent.js ModifiedM src/core/ReactCompositeComponent.js ModifiedM src/test/ReactDefaultPerf.js ModifiedM src/test/ReactDefaultPerfAnalysis.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…