The short answer is: Yes. Vuex is the preferred state management solution for Vue apps, and Vuex 4 is the version compatible with Vue 3 . Do take note, however, that using Vuex for state management depends on the complexity of your application.
Read moreWhen should we use Vuex?
It should be obvious you don’t have to keep data that’s only used by one component in the store. Since no other component needs to know about any changes to that data, one should manage it in the component using it. Vuex allows organisation of data into modules so you can keep everything tidy and maintainable.5 Ağu 2020
Read more