vuejs / vue-class-component

ES / TypeScript decorator for class-style Vue components.
MIT License
5.81k stars 431 forks source link

QUES: Is there any update plan in the project ? #604

Open Tonysmark opened 2 years ago

corwin-of-amber commented 2 years ago

Please do not bury this project 😭 There is no alternative, and there will probably never be one, because all Google searches about using ES classes with Vue (2 and 3) lead to vue-class-component. If it dies, class support dies with it, and ultimately devs will most likely switch to React.

chubbard commented 2 years ago

I'm here because Angularjs kicked the bucket finally, and I needed to find a new toolkit for building apps. I've used Angular in the past and enjoyed using Typescript and class based development for frontend work. I decided to look outside of Angular because of the Angular's troubled past, and wanted something smaller. I was hoping Vuejs would be that, but with the lack of a plan to update vue-class-component I wonder if I'm going to be left again high and dry by yet another abandoned project which by the day seems to be the situation here too. Do I rewrite everything back is ES and just swallow the kool-aid on the abysmal composition API? It was fine to not have updated docs a year ago, but we're past that year mark and still docs haven't arrived. Come on what's the deal? Just something to explain where this is going!

ThreeScreenStudios commented 2 years ago

@ktsn @yyx990803 is there any plan to continue or at least have a transition plan to deprecate class components? Even if we could get one last official Vue 3 class component release, with the notice that it will be deprecated after that, it would allow for folks to have less of a barrier to migrate to Vue 3, and then start to transition off.

I really respect what the team has done with Vue, however it is unfortunate that we have had no communication about a way to move forward :(

rdhelms commented 1 year ago

@corwin-of-amber @chubbard @ThreeScreenStudios I totally agree with all your comments here...currently we're moving forward with vue-facing-decorator (the package mentioned in the deprecation notice) but the struggle while we were waiting for news from these packages was real. https://medium.com/@robert.helms1/vue-2-to-vue-3-with-class-components-cdd6530a2b2a

corwin-of-amber commented 1 year ago

Thank you so much @rdhelms, the prospect of a replacement is reassuring and I will try vue-facing-decorator. It does look great; perhaps a quick porting guide from vue-class-component will help disseminate its adoption?