You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the user is browsing the app and doesn't load PairActivity-*.js yet, but we deploy an update which renames/deletes that file, when the app goes to load it there will be a JS error.
Tasks:
CI: deploy artifacts from previous builds together with new build
Cloudflare may cache files for some amount of time already
ServiceWorker: precache all JS bundles
Once we have PWA/ServiceWorker setup, we can use precacheAndRoute from Workbox
fix: catch exceptions during lazy loading and force-reload app
does not preserve state, but last resort
The text was updated successfully, but these errors were encountered:
Read more: http://dimaip.github.io/2020/04/25/deploying-apps-with-code-splitting/
Build outputs look like this:
If the user is browsing the app and doesn't load
PairActivity-*.js
yet, but we deploy an update which renames/deletes that file, when the app goes to load it there will be a JS error.Tasks:
precacheAndRoute
from WorkboxThe text was updated successfully, but these errors were encountered: