web.dev
12 min
Workerized JS made easy
Ben Morss, Crystal Lambert
When JavaScript lives in a Worker, it runs in a separate thread. Thus, it can't block the browser from creating smooth user experiences! Unfortunately, since Workers can't access the DOM directly, yo…