ktsn / vuex-class

Binding helpers for Vuex and vue-class-component
MIT License
1.73k stars 86 forks source link

What pain point does this package solve? #50

Open gotexis opened 5 years ago

gotexis commented 5 years ago

Hey, I have seen recommendations to use this package. I'm thinking If there is a comparison between this/style and the vanilla style it will help me decide on whether I should adopt this project.

blaskovicz commented 5 years ago

Like vue-property-decorator, my understanding is that it's all syntactic sugar around being able to use an annotation/decorator driven workflow.

bendwarn commented 4 years ago

https://github.com/vuejs/vue-class-component/issues/109#issuecomment-310919020 This package is necessary if you don't want to write definitions twice.

nosuchip commented 4 years ago

It resolves almost all my issues related to typing system when using Typescript with Vue. Using classical extend style it often cannot derive type and cause me to write ugly code like (this as any).comeComputedProp = newVal.