HMR does not work when the state is changed in Vue 3 #1362
Answered
by
posva
murugappanrm
asked this question in
Help and Questions
-
I defined a state in the store. It works on loading. When i change the state and save the vue script, the change in the state is not reflected. The following is the code:
|
Beta Was this translation helpful? Give feedback.
Answered by
posva
Jun 12, 2022
Replies: 1 comment 2 replies
-
That’s expected for existing properties so it doesn’t overwrite your state during HMR and defeat the purpose of it 😄 |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
murugappanrm
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That’s expected for existing properties so it doesn’t overwrite your state during HMR and defeat the purpose of it 😄