@tabatkins @jyasskin Strawman idea: addEventWorklet(), which allows you to register an OMT event handler that can access proxy DOM elements…
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.
-
-
What causes main thread jank? Slow frameworks (e.g. ones that do vDOM diffing) and bad adtech (oversimplified, but you get the idea).
-
So I wish we could just do like native does and figure out how to free up the main thread instead of piling up workarounds.
- 4 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.