-
-
Notifications
You must be signed in to change notification settings - Fork 8.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deprecate vue-class-component #4744
Comments
It definitely isn't a recommended option anymore in official docs or default tooling (moving to Vite-based soon and vue-cli will be in maintenance mode). Deprecation will depend on actual usage and @ktsn's intention on further working on the project. I suggest moving the discussion to |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
What problem does this feature solve?
I am posting this in this repo because it seems that vue-class-component repo is dead.
vue-class-component (https://github.com/vuejs/vue-class-component) library made sense for Vue 2.x when the TypeScript support was really bad. Currently this library provides no additional benefits, it just modifies the syntax of a component. Additionally almost all users of vue-class-component are using vue-property-decorator library which also seems abandoned.
For 3.x the author of vue-class-component introduced a new way of declaring component vuejs/vue-class-component#465 which looks ugly and IMO most developers will not like it. This creates additional chaos because now you can use the new way of declaring props into class components or just install vue-property-decorator and use decorators like it was before.
In conclusion, my suggestion is to deprecate vue-class-component library and do not further suggest new developers using it.
There is no point to fragment the Vue ecosystem into class components and object components where class components provides gain to the standard Vue syntax.
What does the proposed API look like?
The text was updated successfully, but these errors were encountered: