Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add mf-tools for native federation #397

Closed
JBBianchi opened this issue Dec 6, 2023 · 1 comment · May be fixed by #398
Closed

Add mf-tools for native federation #397

JBBianchi opened this issue Dec 6, 2023 · 1 comment · May be fixed by #398

Comments

@JBBianchi
Copy link

Hello,

As far as I can tell, there is not counterpart of the project mf-tools for native federation.

In addition, it might be interesting to add other 'bootstrap' functions, e.g.:

  • to bootstrap an app with a standalone component:
function bootstrapFederatedApplication<TComponent>(component: TComponent, config: AppConfig, options: Options)
  : Promise<ApplicationRef>
  • to bootstrap a web component:
function  bootstrapFederatedWebComponent<TRootComponent>(component: Type<TRootComponent>, config: ApplicationConfig, options: Options & { elementName: string })
  : Promise<{ appRef: ApplicationRef; elementCtr: NgElementConstructor<TRootComponent> }>

Wdyt ?

@JBBianchi JBBianchi changed the title mf-tools for native federation Add mf-tools for native federation Dec 6, 2023
@manfredsteyer
Copy link
Contributor

Yes, that's true. Instead, I'm describing here how to implement such things by yourself. This should give you more freedom:
https://www.angulararchitects.io/blog/micro-frontends-with-modern-angular-part-2-multi-version-and-multi-framework-solutions-with-angular-elements-and-web-components/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants