vuex-smart-module
vuex-smart-module copied to clipboard
Rebase vuex-smart-module on vuex 5?
Hey @ktsn
Vuex5 coming out soon!
What do you think of that?
It is based on Pinia that is not class based, and thus it can't allow splitting and move the logic in specific classes (for action, states etc.), these store "parts" can't be declared outside and then composed in a store instance.
Furthermore, Pinia does not have nested Store.
However, Pinia have some good too, especially about the return type of action, I'm almost sure it does not have the promise
friendly ping @ktsn
This library solves the problem of weak vuex typing when working with TypeScript Pinia supports TypeScript out of the box. So I assume that vuex 5 will also support it. For example vuex 4 already does