dillon1000/react

Commit

Remove the use of proxies for synthetic events in DEV (#13225)

* Revert #5947 and disable the test

* Fix isDefaultPrevented and isPropagationStopped to not get nulled

This was a bug introduced by #5947. It's very confusing that they become nulled while stopPropagation/preventDefault don't.

* Add a comment

* Run Prettier

* Fix grammar
Browse files
Changed paths2 files
First-parent comparison
M packages/events/SyntheticEvent.js ModifiedM packages/react-dom/src/events/__tests__/SyntheticEvent-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…