Workbox Service Worker Infinite Loop

Using the latest f7 single page react template, when there is an error in the code the service worker goes into an infinite loop loading hot-update.json and hot-update.js. This will continue until the browser crashes.

To simulate this I made a simple Test.js component with a single button and referenced an undefined f7 import on a button’s click event.

Only way to get back to good state is to kill the tab, restart and unregister the service worker.