Makes Web Workers feel like local objects by turning postMessage into simple function calls. Keeps heavy work off the main thread.
When to use it
Your PWA does heavy processing (parsing, image work, search indexes) and needs to stay responsive.
Get started
npm i comlink
Source code, issues and documentation: github.com/GoogleChromeLabs/comlink.