Skip to content

Support for Scope Elements #2957

@say25

Description

@say25

Stencil version:

 @stencil/core@2.7.0

I'm submitting a:

[ ] bug report
[x] 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:

Currently custom elements can conflict when multiple WebComponents have custom elements with the same name on the page.

Expected behavior:

Steps to reproduce:

  • Create a Stencil Component that has a custom element with the name hello-world-component that renders "Hello World"
  • Create another Stencil Component that has a custom element with the name hello-world-component that renders "Hello World 2"
  • Include both on the same page and see a conflict in behavior as only one can be registered.

Other information:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature: Want this? Upvote it!This PR or Issue may be a great consideration for a future idea.Has WorkaroundThis PR or Issue has a work around detailed within it.Request For CommentsSeeking commentary on an issue or PR from the community

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions