So after understanding the project, if a particular state is consumed by multiple components then and then you have to use Vuex.
Read moreDoes Vue use Redux?
Redux is actually view-layer agnostic, so it can easily be used with Vue via simple bindings . Vuex is different in that it knows it’s in a Vue app. This allows it to better integrate with Vue, offering a more intuitive API and improved development experience.
Read moreHow does state work in Vue?
State is simply an object that contains the properties that need to be shared within the application : This state object only has a numbers array. Mutations are functions responsible in directly mutating store state. In Vuex, mutations always have access to state as the first argument.26 Haz 2018
Read more