### Reproduction https://codesandbox.io/p/devbox/competent-feather-24dw95 ### Steps to reproduce the bug 1. Create a store with object state and an action 2. Change that state in component through interaction 3. Update your action's code 4. Observe that the state was reset to a default one ### Expected behavior State should be preserved. ### Actual behavior State is reset to a default value. ### Additional information The bug happens with Vue 2 and Vite. Not sure if it also applies to Vue 3 due to different reactivity systems. https://github.com/user-attachments/assets/7860ee63-c17b-4e26-81b2-9c939a6bebb5
Reproduction
https://codesandbox.io/p/devbox/competent-feather-24dw95
Steps to reproduce the bug
Expected behavior
State should be preserved.
Actual behavior
State is reset to a default value.
Additional information
The bug happens with Vue 2 and Vite. Not sure if it also applies to Vue 3 due to different reactivity systems.
Screen.Recording.2025-03-10.at.11.57.47.mov