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

Component Inheritance #936

Closed
lupiter opened this issue Jul 16, 2018 · 1 comment
Closed

Component Inheritance #936

lupiter opened this issue Jul 16, 2018 · 1 comment
Labels

Comments

@lupiter
Copy link

lupiter commented Jul 16, 2018

Stencil version:

 @stencil/core@0.9.7

I'm submitting a:

[X] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://stencil-worldwide.herokuapp.com/ or https://forum.ionicframework.com/

Current behavior:

Component Inheritance, #172 has been automatically closed for inactivity. However no solution has been provided for the examples provided there of code duplication that could be solved by Stencil supporting inheritance.

@ionitron-bot ionitron-bot bot added the triage label Jul 16, 2018
@adamdbradley
Copy link
Contributor

For stencil components we do not recommend component inheritance as it was explained in the last issue. Instead of code duplication I'd recommend utility functions that are shared and can be reused by all components.

@ionic-team ionic-team locked as resolved and limited conversation to collaborators Jul 17, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants