question: how does vuex separate some common methods?
Business scenario: vuex stores my product list (a large number of products), and the components have operations about product additions, deletions and modifications (in vuex). Then each operation has to change the state data through components- > dispatch- > action- > commit- > mutation- > state, finally through mutation.
question: each operation may involve traversing the data in state, so how do you separate this part of the operation into a unified method? Or is it abstracted into a single object for operation?