dillon1000/react

Commit

Move Safari onClick hack into ReactDOMComponent (#8189)

This is already where we trap non-bubbling events. We also already branch
on the tag type so we know if it is interactive or not.

This will let us get rid of the didPutListener and willDeleteListener
abstractions.

I use a simple onclick = emptyFunction to avoid the need for a bookkeeping
map.
Browse files
Changed paths2 files
First-parent comparison
M src/renderers/dom/shared/eventPlugins/SimpleEventPlugin.js ModifiedM src/renderers/dom/stack/client/ReactDOMComponent.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…