angular-extensions / elements

Lazy load Angular Elements (or any other web components / custom elements ) with ease!

Home Page:https://angular-extensions.github.io/elements/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Component not rendering

tuckerjt07 opened this issue · comments

I'm creating a POC in an Nx monorepo using @angular-architects/ddd and have an issue where using a web-component inside one the libs is not working as expected. I have one component loaded in at the global level that works as expected. However, the second component inside the feature is not rendering. I can see the script tag being added to the DOM and there are no console errors but the component itself is not rendering. This is all that is added to the DOM where the component should be

<!--bindings={
  "ng-reflect-url": "http://localhost:3333/api/publ"
}-->

Further Testing: I added a loading template and the loading template is showing as expected but is never disappearing. I know the URL is serving the component and that the JS for the component is valid as well.

Shut everything down and restarted and it cleared up

@tuckerjt07 happy to hear that the problem went away on its own!