Web workers
Partytown & web-worker lib are useful.
Links
- When should you be using Web Workers? (2019)
- Comlink - Makes WebWorkers enjoyable. Tiny library, that removes the mental barrier of thinking about postMessage and hides the fact that you are working with workers.
- Threading the web with module workers (2019)
- Threads.js - Make web workers & worker threads as simple as a function call. (Web)
- Fully type-safe Web Workers with zero boilerplate
- web-worker - Consistent Web Workers in browser and Node.
- workerize-loader - A webpack loader that moves a module and its dependencies into a Web Worker, automatically reflecting exported functions as asynchronous proxies.
- Catiline.js - JavaScript library to take the pain out of web workers. (Web)
- The State Of Web Workers In 2021
- esbuild-plugin-inline-worker - Esbuild loader for inline Web Workers.
- Partytown - Relocate resource intensive 3rd-party scripts off of the main thread and into a web worker. (Web) (Article) (Lobsters) (Docs)
- main-thread-scheduling - Consistently responsive apps while staying on the main thread.
- AMP CDN Worker - Source code for the web worker that powers the AMP project's CDN server. This web worker runs on Cloudflare Workers.
- react-hooks-worker - React custom hooks for web workers.
- Web Workers API (HN)
- Full Preact app rendering in a Web Worker
- Workly - Simple way to move a stand-alone function/class to a worker thread.
- How to stop synchronous code in a web worker? (2022)
- Typed-Worker - Type-safe and Promisified API for Web Worker and Iframe.