1. React
  2. JS Kongress
  3. 2019
  4. Weaving Webs of Workers

Weaving Webs of Workers

Explore patterns and libraries to make working with Web Workers easier.

Trent Willis at JS Kongress 2019

The single-threaded nature of JavaScript can make handling lots of data or complex processing in your web application difficult to balance with providing a good user experience. Web Workers promise to help us find that balance and let us build fast and responsive applications even when doing heavy work, but the APIs for working with them leave much to be desired. In this talk, we’ll explore useful patterns for making Web Workers easier to work with and highlight effective ways to communicate between workers, handle complex data processing off the main thread, and test and debug them.