Skip to content

Enable vue3-class-component to support inheritance of JavaScript classes #3

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

Open
Haixing-Hu opened this issue Oct 7, 2023 · 0 comments
Labels

Comments

@Haixing-Hu
Copy link
Owner

Currently, Vue3-class-component primarily focuses on supporting Vue components created with JavaScript classes. However, one limitation is the lack of native support for class inheritance in JavaScript. It would be highly beneficial if Vue3-class-component could be extended to support inheritance of JavaScript classes, allowing for more modular and reusable component development.

To address this limitation, I suggest implementing support for JavaScript class inheritance within Vue3-class-component. This enhancement would enable developers to create base classes for components and extend them when defining specific components. This feature can lead to cleaner and more maintainable code, especially in scenarios where multiple components share common functionality.

Please let me know your thoughts on this proposal, and if you believe it aligns with the project's goals and vision.

Thank you!

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

No branches or pull requests

1 participant