B
B
BonBon Slick2020-10-03 12:12:11
Vue.js
BonBon Slick, 2020-10-03 12:12:11

Unable to clear Vuex?

I understand that they have thousands of bugs in devtools and it has already appeared before but disappeared by itself.

I delete the state from localStorage + disabled the cache in network + used Clear Storage and cleared everything there + local cache and rebuilt the project.
The state is still the same, not updated, as a result, I can’t log out the user except by calling the mutation through the action.

Since the vue community does not have a centralized issues tracker, I ask here.|

P.S. github, they usually send everyone further even if you find a serious bug, and you can never wait for an answer on their forum, from the developers as well. This is the only thing that annoys me in vue, they spit out quasimodo and do what you want yourself.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2020-10-03
Madzhugin @Suntechnic

The state is still the same, not updated, as a result, I can’t log out the user except by calling the mutation through the action.

And the state should not change in any way except through a mutation call. Mutations are the only way to change a state.
I delete the state from localStorage + disabled the cache in network + used Clear Storage and cleared everything there + local cache and rebuilt the project.

And what does this have to do with it? Why after deleting a saved state to localstorage it has to change in Vuex?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question