- From: Jake Archibald <notifications@github.com>
- Date: Wed, 09 Aug 2023 04:08:48 -0700
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 9 August 2023 11:08:53 UTC
It could be `addRoutes(...routes)`. I usually don't like that pattern, since it prevents adding new parameters in future, but if seems like any options would be per route. `add` is shorter than `register`, and `add` makes it clearer that it's additive to the previous call. It might not make it clear that previous routes are cleared with the installation of a new service worker, but I'm not sure `register` makes that clear either. -- Reply to this email directly or view it on GitHub: https://github.com/w3c/ServiceWorker/issues/1373#issuecomment-1671123834 You are receiving this because you are subscribed to this thread. Message ID: <w3c/ServiceWorker/issues/1373/1671123834@github.com>
Received on Wednesday, 9 August 2023 11:08:53 UTC