dillon1000/react

Commit

Convert ReactMount to createRoot (#28075)

To convert this file, I started replacing all the calls in line, and
quickly realized that we already have most of these tests covered in
other files. So I found the test that we didn't already have for
`create/hydrateRoot` and added them, then renamed `ReactMount` to
`ReactLegacyMount`.
Browse files
Changed paths3 files
First-parent comparison
M packages/react-dom/src/__tests__/ReactDOMHydrationDiff-test.js ModifiedM packages/react-dom/src/__tests__/ReactDOMRoot-test.js ModifiedR packages/react-dom/src/__tests__/ReactMount-test.js →packages/react-dom/src/__tests__/ReactLegacyMount-test.js Renamed
Patch

Files changed

Rendering syntax-highlighted changes…