Jan 17 2025 5 mins 8
I just finished Expensive Calculations in React Performance. Why do we need a Web Worker instead of just wrapping the long-running function in a Promise that resolves when the function completes?
When is a Promise not good enough, and I need a Web Worker?