dillon1000/react

Commit

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.
Browse files
Changed paths6 files
First-parent comparison
M src/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 Modified
Patch

Files changed

Rendering syntax-highlighted changes…