replace state
Author: sowhat13Created Feb 6, 2022Updated Mar 26, 2024
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.
Source: vuejs/vuex