dillon1000/react
Commit
Browse files Support rendering different components into same node
var container = ...; // some DOM node React.renderComponent(<div />, container); React.renderComponent(<span />, container); This should replace the rendered <div> with a <span>, effectively reconciling at the root level.
Changed paths2 files
First-parent comparisonsrc/core/ReactMount.js ModifiedA src/core/__tests__/ReactMount-test.js AddedPatch
Files changed
Rendering syntax-highlighted changes…