Re: [w3c/ServiceWorker] postMessage keeps service workers alive indefinitely (#980)

@jakearchibald I'm new to service workers, so I may be making some false assumptions, but it seems to me that being able to have the service worker live while tabs are open would be a huge step in the direction of simplifying web development with MPAs. I mean, sometimes you need to have some stuff that keeps running for as long as the page is open, like web sockets, and, currently, AFAIK that can only be accomplished with SPAs. So why not let service workers fill that gap? Web development is so much easier with MPAs.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/issues/980#issuecomment-1242807408
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/ServiceWorker/issues/980/1242807408@github.com>

Received on Saturday, 10 September 2022 21:30:44 UTC