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?
This is essentially re-opening #2592. This feature would be really handy when testing as currently we have no way to clean up the router.