Top 4 TypeScript Webworker Projects
Relocate resource intensive third-party scripts off of the main thread and into a web worker. 🎉Project mention: The smartest way to cache/speed up a Wordpress website - Close to static | reddit.com/r/Wordpress | 2022-05-10
For example: https://partytown.builder.io is working on a webworker for tracker scripts
📩 Use web Workers and other Windows through a simple Promise API
Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!
Fast and consistently responsive apps using a single function callProject mention: I've made my app's search fast and open-sourced the solution | reddit.com/r/react | 2022-06-22
The library — https://github.com/astoilkov/main-thread-scheduling
A simple isomorphic library for executing functions inside WebWorkers or Node Threads pools.Project mention: Web Crypto API | news.ycombinator.com | 2021-12-04
Workers are awesome but you are right, working with them can be painful without the right tooling.
Personally I've written my own libraries for abstracting all this away and I've having a blast working with workers now, maybe check them out:
- WorkTank : This abstracts away the difference between browser workers and Node worker threads, it makes it easy to make worker pools, and it can transfer simple functions to a worker at runtime too.
- WorkTank loader: This abstracts away loading asynchronous function from a worker basically, you just add ".worker" to your file name and that file and all its dependencies are transparently replaced moved to a worker, all the rest of the app (TS types for example) doesn't even notice anything happened, it just works.
You might want to check out the more popular "comlink" library too, although it didn't work for me for whatever reason and it doesn't support worker pools I believe.
TypeScript Webworker related posts
The smartest way to cache/speed up a Wordpress website - Close to static
4 projects | reddit.com/r/Wordpress | 10 May 2022
Hydration is Pure Overhead
3 projects | dev.to | 20 Apr 2022
Interesting libraries, fonts and more
8 projects | dev.to | 14 Apr 2022
Optimize JS thread using Partytown (Web Workers)
1 project | dev.to | 11 Apr 2022
How to optimize your LCP (with visuals!)
4 projects | dev.to | 29 Mar 2022
1 project | dev.to | 16 Mar 2022
Partytown: Run Third-Party Scripts from a Web Worker
1 project | news.ycombinator.com | 16 Feb 2022
What are some of the best open-source Webworker projects in TypeScript? This list will help you:
Are you hiring? Post a new remote job listing for free.