Implement new event propagation system to support shadow roots and iframes. The basic idea is simple:
Implement new benchmark or check If existing event benchmark can be used to make sure there is no regression in performance.
Verify composedPath works through iFrame's
It should fix these:
https://github.com/infernojs/inferno/issues/1439
https://github.com/infernojs/inferno/issues/1430
We should also measure is it faster to loop dom nodes from composedPath compared to parentNode
Browser support is horrible for path and composed path...
Neither IE11 nor Edge (v18) supports either path or composedPath. Firefox supports composedPath. Chrome supports both path (it was Google's original idea) and composedPath.
Closing. Found another way.
Most helpful comment
We should also measure is it faster to loop dom nodes from composedPath compared to parentNode