Xiuer Old·FollowDec 4, 2024--ListenShareYes, Web Works is a good solution.But1. Web Workers cannot directly access the DOM.2. Web Workers cannot directly access variables and functions from the main thread.