Open nicolidin opened 3 years ago
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
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 type and thus allows to return a specific type.