Provide way of calling unregisterRoute when using default router
Brought to you by:
tomkozak
Originally created by: maport
Library Affected:
workbox-routing
Browser & Platform:
all browsers
Issue or Feature Request Description:
Router instances have an unregisterRoute method, but, as far as I can tell, if you are using the default Router, there is no way of obtaining the Router instance and hence no way of calling this method.
Would it be possible to either provide access to the workbox-routing.utils.getOrCreateDefaultRouter function or add an unregisterRoute function alongside the existing workbox-routing.registerRoute function that uses the default router?
Originally posted by: tomayac
Hi there,
Workbox is moving to a new engineering team within Google. As part of this move, we're declaring a partial bug bankruptcy to allow the new team to start fresh. We realize this isn't optimal, but realistically, this is the only way we see it working. For transparency, here're the criteria we applied:
v7branch.Thanks, and we hope for your understanding!
The Workbox team
Ticket changed by: tomayac