dillon1000/react

Commit

[act] remove obsolete container element (#16312)

In a previous version of act(), we used a dummy dom element to flush effects. This doesn't need to exist anymore, and this PR removes it. The warning doesn't need to be there either (React will fire a wrong renderer act warning if needed).
Browse files
Changed paths2 files
First-parent comparison
M packages/react-dom/src/test-utils/ReactTestUtils.js ModifiedM packages/react-test-renderer/src/__tests__/ReactTestRenderer-test.internal.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…