dillon1000/react

Commit

Add test for async event dispatching (#15300)

Verified that a variant of this test fails as follows when the
`context.withAsyncDispatching` function is excluded (i.e., reproduces the
issue).

    Expected value to equal:
      ["press", "longpress", "longpresschange"]
    Received:
      ["press", "longpress", "longpress", "longpresschange"]
Browse files
Changed paths1 file
First-parent comparison
M packages/react-dom/src/events/__tests__/DOMEventResponderSystem-test.internal.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…