web-worker-hooks
useWorker
web-worker-hooks | useWorker | |
---|---|---|
2 | 2 | |
7 | 2,889 | |
- | - | |
0.0 | 0.0 | |
almost 3 years ago | 8 months ago | |
TypeScript | JavaScript | |
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.
web-worker-hooks
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
What are some alternatives?
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]
preact-worker-demo - Demo of preact rendering an entire app in a Web Worker.
partytown - Relocate resource intensive third-party scripts off of the main thread and into a web worker. 🎉
workly - A really simple way to move a function or class to a web worker. 🏋️♀️→ 😄
SWR - React Hooks for Data Fetching
BCom2 - ➕ Better web-worker library... ➕
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]