DEV Community

Discussion on: Getting Started with JavaScript Web Workers and Off-Main-Thread Tasks

Collapse
abhinav1217 profile image
Abhinav Kulshreshtha

Amazing tutorial. I love the step by step approch. This cleared some of my doubts I had before.

Do you have something similar on service worker? I actually used to think service worker and web worker were same.

Collapse
mvasigh profile image
Mehdi Vasigh Author

Thank you! I don't have anything written up on Service Workers yet, but I'll add it to my topic list as that'd be a great topic.

I think they're easy to confuse due to naming, I did the same. If you want to learn SWs check out Workbox. It's a set of libraries for building Service Workers. I found this tutorial which looks helpful: smashingmagazine.com/2019/06/pwa-w...

Collapse
abhinav1217 profile image
Abhinav Kulshreshtha

I would read it when you write an article on it. Thanks for the smashing magazine article. Even though I receive their newsletters, I don't remember seeing this article.