vuex-class
vuex-class copied to clipboard
What pain point does this package solve?
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.
Like vue-property-decorator
, my understanding is that it's all syntactic sugar around being able to use an annotation/decorator driven workflow.
https://github.com/vuejs/vue-class-component/issues/109#issuecomment-310919020 This package is necessary if you don't want to write definitions twice.
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
.