dillon1000/react
Commit
Browse files 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`.
Changed paths3 files
First-parent comparisonpackages/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 RenamedPatch
Files changed
Rendering syntax-highlighted changes…