-
Notifications
You must be signed in to change notification settings - Fork 813
Closed
Labels
Good First IssueThis is a good first issue for someone wantng to contribute to Stencil!This is a good first issue for someone wantng to contribute to Stencil!ionitron: stale issueThis issue has not seen any activity for a long period of timeThis issue has not seen any activity for a long period of time
Description
Stencil version:
@stencil/core@0.2.3
I'm submitting a:
- bug report
- feature request
- support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or https://stencil-worldwide.slack.com
Current behavior:
So I'd like to extract some common behavior from a few components. My intention was to use mixin classes to accomplish this. This pattern requires extending a class, e.g. class Foo extends withBar()
I'm finding that in polyfilled browsers (Firefox, IE11, Edge), extending any Stencil component causes weird errors, like failing to render at all. This is true even for simple things like class Foo extends Object
. I don't see any compiler or run-time errors.
In Chrome it's working fine.
Steps to reproduce:
- Clone and
npm i
https://github.com/mattdsteele/stencil-extended-elements npm run dev --es5
- Open in Firefox and note the
<my-component>
element, which extends Object, does not render.
Other information:
Other issues make me think this should be possible: #133 (comment), #272
scottopherson
Metadata
Metadata
Assignees
Labels
Good First IssueThis is a good first issue for someone wantng to contribute to Stencil!This is a good first issue for someone wantng to contribute to Stencil!ionitron: stale issueThis issue has not seen any activity for a long period of timeThis issue has not seen any activity for a long period of time