Re: [w3c/ServiceWorker] Declarative routing (#1373)

I think allowing multiple calls is fine. In that case I would rename the method from `registerRouter()` to `registerRoutes()`.

The naive approach makes perfect sense to me. In other words, `registerRoutes(a); registerRoutes(b);` should be equivalent to `registerRoutes([...a, ...b]);`. I think that is what everyone would expect.

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

Message ID: <w3c/ServiceWorker/issues/1373/1667128930@github.com>

Received on Monday, 7 August 2023 03:25:37 UTC