Skip to content
Discussion options

You must be logged in to vote

It can happen if the user has an old version of the app open, it's not that the user is receiving and old JS file, but that the user already has that JS file, there's nothing to do that, it's the same thing as if you have an old mobile app on your phone and the API had a breaking change.

The only way to prevent it to crash is by avoiding breaking changes. You could also detect when there's a new version and ask the user to reload the page to get a new version.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@sergiodxa
Comment options

@jansedlon
Comment options

@jansedlon
Comment options

@sergiodxa
Comment options

Answer selected by jansedlon
@jansedlon
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants