dillon1000/react

Commit

Delete test-utils implementation of `act` (#21703)

* Delete test-utils implementation of `act`

Since it's dev-only now, we can use the one provided by the reconciler.

* Move act related stuff out of EventInternals
Browse files
Changed paths4 files
First-parent comparison
M packages/react-dom/src/client/ReactDOM.js ModifiedM packages/react-dom/src/test-utils/ReactTestUtils.js ModifiedM packages/react-dom/src/test-utils/ReactTestUtilsInternalAct.js ModifiedD packages/react-dom/src/test-utils/ReactTestUtilsPublicAct.js Deleted
Patch

Files changed

Rendering syntax-highlighted changes…