@tabatkins @jyasskin Strawman idea: addEventWorklet(), which allows you to register an OMT event handler that can access proxy DOM elements…
…and a requestAnimationFrameWorklet(). e.g.: window.aEW(‘scroll’, [theElement], (event, theElement) => {http://theElement.style.top = …}).
-
-
Minimal difference from the existing Web platform. Easy to retrofit existing content. Targeted fix for OMT event handlers/animation frames.
-
But here’s what gives me pause about the whole idea: Once you have off main thread layout, all you’re solving is main thread jank.
- 6 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.