workerize
worker-dom
workerize | worker-dom | |
---|---|---|
1 | 1 | |
4,339 | 3,166 | |
- | 0.4% | |
0.0 | 7.4 | |
about 3 years ago | 5 days ago | |
JavaScript | TypeScript | |
- | Apache License 2.0 |
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.
workerize
-
Consistently responsive apps while staying on the main thread
Here are a couple attempts at doing just that.
worker-dom
-
Sleekiest JavaScript Trick you know?
I recently figure how to get this trick to work. You can use synchronous xhr and service workers to make synchronous code inside dedicated workers to synchronously wait for async code to finish before continuing. There are libraries to do it for you but it is nice to know how to do it myself now.
What are some alternatives?
partytown - Relocate resource intensive third-party scripts off of the main thread and into a web worker. ๐
comlink - Comlink makes WebWorkers enjoyable.
threads.js - ๐งต Make web workers & worker threads as simple as a function call.
greenlet - ๐ฆ Move an async function into its own thread.
typed-json-rpc - Simple, statically typed and ergonomic way to do async communications (events, workers, http requests) with json-rpc
post-me - ๐ฉ Use web Workers and other Windows through a simple Promise API
workerize-loader - ๐๏ธ Automatically move a module into a Web Worker (Webpack loader)
workly - A really simple way to move a function or class to a web worker. ๐๏ธโโ๏ธโ ๐
WebCodecsOpusRecorder - WebCodecs Opus Recorder/Media Source Extensions Opus EncodedAudioChunk Player