When I refresh the page, the store's state is all gone.
This is very inconvenient when programming.
When I looked up, there was a module called vuex-persist, which stores the state of vuex in localStorage.
Why doesn't vuex store the state of vuex by default in cookie or localStorage?
And, will there be any side effects of storing the state of the store using the vuex-persist module?