dillon1000/react

Commit

Add tests for non-React discrete events flushing in a microtask (#20772)

* Convert some old discrete tests to Hooks

I'm planning to copy paste so why not update them anyway.

* Copy paste discrete tests into another file

These are still using React events. I'll change that next.

* Convert the test to use native events
Browse files
Changed paths2 files
First-parent comparison
M packages/react-dom/src/__tests__/ReactDOMFiberAsync-test.js ModifiedA packages/react-dom/src/__tests__/ReactDOMNativeEventHeuristic-test.js Added
Patch

Files changed

Rendering syntax-highlighted changes…