Refresh page on new release if used components were changed #241
lorddaedra
started this conversation in
General
Replies: 1 comment 1 reply
-
I would think this same issue would occur for any SPA (or long-lived application that stores state on the client, right? I just searched around a little bit and found this for Vue: https://medium.com/@codemonk/automatic-reload-of-client-after-deploying-in-vue-js-91c120f85f0e. Off the top of my head, the current deployment could be calculated somehow and then a |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm not yet sure but looks like every new release of project with django-unicorn components require to refresh page if components were changed.
Is it something broken by design for all server-side component systems or we can fix it?..
Can we somehow tell user about it (right top or bottom banner): "Hey! We have updated panel, so you use outdated frontend, please, refresh page now to update it. "
I think it's needed for any serious production usage of django-unicorn.
Beta Was this translation helpful? Give feedback.
All reactions