dillon1000/react
Commit
Browse files Complete DOMPluginEventSystem migration to createRoot (#28148)
Follow-up to https://github.com/facebook/react/pull/28139#discussion_r1468852457 I mistakenly kept the tests using comment nodes as containers as legacy tests. It's not that comments nodes aren't allowed in createRoot entirely. Only behind `disableCommentsAsDOMContainers`. We already had one test following that pattern so I just applied the same pattern to the other tests for consistency. Now `DOMPluginEventSystem` no longer uses any legacy roots.
Changed paths1 file
First-parent comparisonpackages/react-dom/src/events/__tests__/DOMPluginEventSystem-test.internal.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…