See #238 and #1536 for historical context.
Is that still relevant? The code is here:
|
// TODO: Only do this for the relevant Safaris maybe? |
|
node.onclick = emptyFunction; |
Even if it's relevant, can we just feature test it, and not do this hack on other browsers? Seems like a waste of memory for event handlers (even though the function is the same every time).
See #238 and #1536 for historical context.
Is that still relevant? The code is here:
react/packages/react-dom/src/client/ReactDOMFiberComponent.js
Lines 244 to 245 in 52fbe76
Even if it's relevant, can we just feature test it, and not do this hack on other browsers? Seems like a waste of memory for event handlers (even though the function is the same every time).