vuex-smart-module icon indicating copy to clipboard operation
vuex-smart-module copied to clipboard

Rebase vuex-smart-module on vuex 5?

Open nicolidin opened this issue 3 years ago • 2 comments

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.

nicolidin avatar Nov 16 '21 09:11 nicolidin

friendly ping @ktsn

nicolidin avatar Mar 06 '22 11:03 nicolidin

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

vdkrasny avatar Jul 17 '22 09:07 vdkrasny