M
M
msdosx862018-08-10 05:12:04
Data storage
msdosx86, 2018-08-10 05:12:04

Why do we need Vuex / Redux if the data they store is reset after a page refresh?

Maybe I don’t know something, but in the application that I did, if I reload the page, then all the data from vuex was reset. This is basically logical. Or not? Why all this when you can store information in local storage and it will not be reset.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Filippov, 2018-08-10
@msdosx86

Logically. They are for application state management, not client-side persistence.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question