Re:Building a Progressive Web App in React, using Firestore ...
by hknd on Wednesday May 09, 2018 @07:27AM
(#17028994)
You are probably mistaken SW for Web Workers.
Web Workers are used to offload work to another thread and can communicate with messages
Service Workers is a new API which is now supported by all major browsers.
SW is branded as:
Rich offline experiences, periodic background syncs, push notifications and more.
"A service worker is a script that your browser runs in the background, separate from a web page, opening the door to features that don't need a web page or user interaction."
Web Workers are used to offload work to another thread and can communicate with messages
Service Workers is a new API which is now supported by all major browsers.
SW is branded as: Rich offline experiences, periodic background syncs, push notifications and more. "A service worker is a script that your browser runs in the background, separate from a web page, opening the door to features that don't need a web page or user interaction."
Full article on this topic: https://developers.google.com/web/fundamentals/primers/servi...