Open DrSensor opened 1 year ago
Listen to online event then re-import when Promise.all fail
online
https://developer.mozilla.org/en-US/docs/Web/API/Navigator/onLine
Dunno if dynamic import can be intercepted by ServiceWorker 🤔, if yes then that's better solution
Listen to
online
event then re-import when Promise.all failhttps://developer.mozilla.org/en-US/docs/Web/API/Navigator/onLine