Create application ref for each custom component #61752
Labels
area: elements
Issues related to Angular Elements
Milestone
Content-Length: 242537 | pFad | http://github.com/angular/angular/issues/61752
D0Fetched URL: http://github.com/angular/angular/issues/61752
Alternative Proxies:
Uh oh!
There was an error while loading. Please reload this page.
Which @angular/* package(s) are relevant/related to the feature request?
elements
Description
Right now it is not possible to create separate applications per component.
We create web component with router, and implements own LocationStrategy.
It works perfectly. But only if one component on page. If we attach more component, then router executes only on last custom component per page.
I believe that creating separate appRef's for each web component will solve the problem.
Proposed solution
And we can define custom component by:
Alternatives considered
Fork
The text was updated successfully, but these errors were encountered: