Skip to content

switching between multiple embedded components seems buggy #361

@sk-t3ch

Description

@sk-t3ch

Describe the bug
I have a few nuxt-custom-elements components embedded in my website (https://t3chflicks.org/Services) which are loaded from an external source (document-store.t3chflicks.org, medium-to-markdown.t3chflicks.org). When I switch page, loading a diferrent nuxt-custom-elements component, there seems to be odd behaviour:

  • reloading the same component instead of new one
  • failing to load with an error of
    Uncaught TypeError: Illegal constructor
     at new n (viewer-component.js:432)
    

To Reproduce
Steps to reproduce the behavior:

Sorry if this isnt enough informatio, please say if you would like an example project.

Cheers

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions