use-react-workers is a JavaScript library designed to leverage the Web Worker Web API seamlessly within React Hooks. It empowers you to execute resource-intensive functions without stalling the user interface. Its straightforward syntax, utilization of Promises, and multiple hooks ensures a smooth user AND developer experience.
Features
Ability to run compute heavy functions without blocking UI
Returns Promise instead of event-messages (for certain hooks)