Welcome! 🎉 This is the companion repository for my talk on using the Web Workers API within your JS application.
If you want to code along with the workshop portion of the talk, you will need to clone this repository on your machine. If you want to commit changes and play around with the code as much as you want, fork the repo and clone your fork instead--you may want to set this repo as your upstream so that you can pull any new changes.
To clone, run the following command:
git clone https://github.com/mvasigh/web-workers-hjs.git
cd web-workers-hjs
This repository consists of two applications:
It is recommended that you install dependencies for these applications before the workshop in case there are difficulties with WiFi. Simply run npm install
or yarn
in the root directory to install any necessary depencencies:
The workerize
example shown during the presentation on CodeSandbox can be found here
Ask me on Twitter @mehdi_vasigh or open an issue in this repo!