You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
nicolidin
changed the title
Rebased vuex-smart-module on vuex 5?
Rebase vuex-smart-module on vuex 5?
Nov 16, 2021
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.
The text was updated successfully, but these errors were encountered: