useWorker is a react hook that allows you to run expensive tasks in background without blocking the UI.
📋 Features
- ✅ Run expensive function without blocking UI (Show live gif)
- ✅ Supports Promises pattern instead of event-messages
- ✅ Size: less than 3KB!
- ✅ Clear API using hook
- ✅ Typescript support
- ✅ Garbage collector web worker instance
- ✅ Remote dependencies option
- ✅ timeout option
💻 Repo
https://github.com/alewin/useWorker
🏛️ License
MIT