dillon1000/react

Commit

Support comment node as a mount point (#9835)

This means you don't need an extra wrapper div for each component root you need. Rendered stuff is inserted before the comment you pass in.
Browse files
Changed paths3 files
First-parent comparison
M scripts/fiber/tests-passing.txt ModifiedM src/renderers/dom/fiber/ReactDOMFiberEntry.js ModifiedM src/renderers/dom/shared/__tests__/ReactMount-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…