Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replace state #2126

Open
sowhat13 opened this issue Feb 6, 2022 · 3 comments
Open

replace state #2126

sowhat13 opened this issue Feb 6, 2022 · 3 comments

Comments

@sowhat13
Copy link

sowhat13 commented Feb 6, 2022

Version

3.2.29

Steps to reproduce

this.$store.replaceState({})

When I use this function, it works but in vue devtools's store it doesn't change, there is still old store in there.

What is expected?

Store's state should be an empty object in vue devtools extension.

What is actually happening?

Old State is still there, not in app but in the extension its look like that.

@LinusBorg LinusBorg transferred this issue from vuejs/core Feb 6, 2022
@ahmetilhn
Copy link

Vue devtools may exhibit out-of-sync activity. Already in beta version. To prevent this, printing the state to the console after an action @sowhat13 @retzloff @blackpr @dcrall @aeby

@bihongbin3027
Copy link

@sowhat13 Me too. May I ask if you have resolved it.

@weier910
Copy link

weier910 commented Mar 26, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants