Use web worker to minimize main thread work

Hello,

I am thinking can we use web workers to minimize main-thread work? here is the link of webpack worker loader —> https://webpack.js.org/loaders/worker-loader/

Hi @mosamlife

How could we use web workers in frontity in your opinion? I don’t see a good use case for them at the moment. I think web workers are well-suited for very interactive or graphics-intensive applications, which need a lot of the work to be continously done “in the background” and off the main thread.

In frontity, most of the “expensive” work of updating the DOM is done by react which is already heavily optimized for this purpose :slightly_smiling_face:

Cheers