Skip to content
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

Nuxt-Property-Decorator 3 - Nuxt 3, Vue 3 and Vue Class Component v8 readiness #83

Closed
husayt opened this issue Jan 17, 2021 · 14 comments
Closed

Comments

@husayt
Copy link
Collaborator

husayt commented Jan 17, 2021

We need to start working on Nuxt-Property-Decorator 3 which will work with Vue Class Component v8.

@pi0 @Atinux going forward this library will shape depending on vue 3 related changes in next versions of vue-class-component and nuxt. I want to make sure we can adopt this library and make it ready by the time new nuxt is released. Can I have access to nuxt-3 for vue3 to give it a try as Vue Class Component v8 is already available in beta.

@pi0
Copy link
Member

pi0 commented Jan 17, 2021

Hi @husayt. I will let you know as soon as nuxt3 alpha package is published so you can try it. BTW pages/composition api is not finalized for nuxt3 so it might have breaking changes.

@husayt
Copy link
Collaborator Author

husayt commented Jan 17, 2021

Thanks @pi0 , I will be looking forward. Before even starting to change anything, we need to just get some ideas about how it will look in v3. For that we will need to do some experimentation and that will take some time.

@furepa
Copy link

furepa commented Aug 7, 2021

Before even starting to change anything, we need to just get some ideas about how it will look in v3. For that we will need to do some experimentation and that will take some time.

Hi @husayt, did you have the possibility to have a look at Nuxt 3 and start your experiments. I wonder if Nuxt-Property-Decorator will be quickly available after the release of Nuxt 3. Thank you for any feedback.

@husayt
Copy link
Collaborator Author

husayt commented Aug 7, 2021 via email

@furepa
Copy link

furepa commented Aug 7, 2021

I haven't had access to nuxt 3 yet. To be honest, with composition api available there is not much point in using this library. If someone is keen to maintain the library that will be welcome, but I am not going to be using it so will not be able to allocate time to it.

On Sat, 7 Aug 2021, 14:35 furepa, @.***> wrote: Before even starting to change anything, we need to just get some ideas about how it will look in v3. For that we will need to do some experimentation and that will take some time. Hi @husayt https://github.com/husayt, did you have the possibility to have a look at Nuxt 3 and start your experiments. I wonder if Nuxt-Property-Decorator will be quickly available after the release of Nuxt 3. Thank you for any feedback. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#83 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAI5PLHDIB3M5GJD7HDVZXTT3UEAFANCNFSM4WGCO2IQ .

I'm trying to understand the dependencies between the components in a project built (not by me) with Nuxt/Vue 2 and this library. Your reference to composition api give me the hint for my next steps. Thank you very much for your input.

@rklos
Copy link

rklos commented Mar 17, 2022

+1 for nuxt3 support

@synopss
Copy link

synopss commented Mar 31, 2022

To be honest, with composition api available there is not much point in using this library.

Hey, @husayt can you elaborate on this part please ? Even if the composition API is better than the option API, I am pretty sure the class component way of doing thing has still a big user base. The composition API has indeed some benefits, but I personnaly think, comming from backend, that it's easier to understand things with class component & decorators.

@husayt
Copy link
Collaborator Author

husayt commented Mar 31, 2022

Hi, I am not using this module anymore. If anyone is willing to make thd required changes, they are more than welcome

@TokugawaTakeshi
Copy link

How much dontations your community needs to adapt this library for Nuxt 3?

@husayt
Copy link
Collaborator Author

husayt commented Sep 13, 2022

To not to set any expectations, it is best to close this issue. Recommend everyone to switch to composition api.

I have recently switched number of projects using nuxt property decorator to nuxt3. Have to say it was much easier switching class based components than classic options based ones. Composition api and script setup allows very similar programming style to nuxt-property-decorator.

My team has a spare capacity to help with transition (on a paid base ), if anyone is interested, drop me a line and we will provide you with a quote depending on the project.

@husayt husayt closed this as completed Sep 13, 2022
@husayt husayt closed this as not planned Won't fix, can't repro, duplicate, stale Sep 13, 2022
@TokugawaTakeshi
Copy link

By other words, "Good luck to you with the learning of Composition API and changing of your thinking, methodologies and guidelines to Composition API oriented". Well, it is the Open Source, not business, I suppose we can not complain...

@husayt
Copy link
Collaborator Author

husayt commented Sep 14, 2022

I have myself been looking for a way forward for our apps using this library and composition api is the most pragmatic answer. Switch is very easy and the mindset is very similar. The main problem in switching to nuxt3 is library support, not the composition api. Most libraries/modules are not supported or not nuxt3 ready.

@IlyaSemenov
Copy link

I published a drop-in Nuxt 3 replacement for nuxt-property-decorator: https://github.com/IlyaSemenov/nuxt3-class-component.

The existing components code just works without any modification.

@TokugawaTakeshi
Copy link

@IlyaSemenov

I and many OOP followers can not thank you enough.
I'll star your repository!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants