I was wondering whether this could be used by Lightning for certain work that we're noticing is causing stutters: such as rendering large nested trees.
Hi, it could be used by Lightning but would require some fundamental changes. We have this already on our backlog but can't provide any clear timelines.
The OffscreenCanvas API seems to allow canvas rendering in WebWorkers:
https://devnook.github.io/OffscreenCanvasDemo/index.html https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas
I was wondering whether this could be used by Lightning for certain work that we're noticing is causing stutters: such as rendering large nested trees.