Offload calculations with Web Workers, Comlink and TanStack Query
johnnyreilly.com
The article combines Comlink and TanStack Query to manage calculations in a Web Worker. Its example shows how to keep the interface responsive during expensive computation.
