Open nicolidin opened 3 years ago
@gertqin Hi, friendly ping, this feature is very important for our team, I was wondering whether you think progress will be made about it this year?
Sorry for not replying to the original issue. But as I'm no longer using this module myself and Pinia is the new recommended state management library (which also solves all the problems this library is trying to solve), I probably won't be adding any new features to this library anymore.
You should check this issue: https://github.com/vuejs/pinia/issues/802
Hi,
It would be interesting to allow the composition of each part of a module: State, Getters, Mutations, and Actions as different composed class like this example below.
Do you think you can implement such a feature??
It would allow doing abstraction on each different part of a store, and thus for example make
UserMutation
extends from an interface or a class, and the same forUserAction
etc...Futhermore it would allow sharing parts (action, mutation, state, getters) in different modules, as below:
Thanks! Hope you can do something @gertqin ! (what do you think in therm of complexity to implement such a feature?)