useWorker
web-worker-hooks
useWorker | web-worker-hooks | |
---|---|---|
2 | 2 | |
2,901 | 7 | |
- | - | |
0.0 | 0.0 | |
9 months ago | about 3 years ago | |
JavaScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
useWorker
-
Suggestions for how to create a file uploader similar to Google Drive that won't cancel the upload when you navigate to a different page?
It seems like shared web workers is an option. Here's a React library with hooks that can help with the implementation
-
Multi-threaded React App using useWorker
useWorker is a library to uses web worker APIs in a simple configuration with React Hooks. Which supports executing expensive tasks without blocking the UI, support promises instead of event listeners, and other notable feature are
web-worker-hooks
What are some alternatives?
preact-worker-demo - Demo of preact rendering an entire app in a Web Worker.
react-query - 🤖 Powerful asynchronous state management, server-state utilities and data fetching for TS/JS, React, Solid, Svelte and Vue. [Moved to: https://github.com/TanStack/query]
workly - A really simple way to move a function or class to a web worker. 🏋️♀️→ 😄
partytown - Relocate resource intensive third-party scripts off of the main thread and into a web worker. 🎉
BCom2 - ➕ Better web-worker library... ➕
SWR - React Hooks for Data Fetching
beautiful-react-hooks - 🔥 A collection of beautiful and (hopefully) useful React hooks to speed-up your components and hooks development 🔥
typed-json-rpc - Simple, statically typed and ergonomic way to do async communications (events, workers, http requests) with json-rpc
formik - Build forms in React, without the tears 😭 [Moved to: https://github.com/formium/formik]