Replies: 1 comment
-
Listen to beforeunload and clear the storage. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone! I need some help/
If using this approach https://github.com/datorama/akita/blob/master/docs/docs/angular/hmr.mdx and the developer clicks F5 (reload the page) all data are taken from the local storage. Is there any possibility to make HMR working and clear storage on page reload?
P. S. I also tried to add clearStorage in the store's constructor but it doesn't work each page reload.
Beta Was this translation helpful? Give feedback.
All reactions