Skip to content

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

Open
@Haixing-Hu

Description

@Haixing-Hu

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions