Skip to content

Rewrite for standalone zoneless components#537

Open
internettrans wants to merge 17 commits intomasterfrom
experimental
Open

Rewrite for standalone zoneless components#537
internettrans wants to merge 17 commits intomasterfrom
experimental

Conversation

@internettrans
Copy link
Member

@internettrans internettrans commented Mar 5, 2025

This is what I came up with working on the angular-microfrontends examples after upgrading to Angular 19. It doesn't yet support the custom single-spa routing location.

  • single-spa props are used via signals now
  • zonejs not supported in this version, might be added later
  • schematics might need to be added for empty route, single-spa-props.ts
  • no main.ts and main.single-spa.ts separation anymore, to match how react/vue operate where it's a single-spa application rather than a mixture of a standalone html web app and single-spa application. Single-spa isn't multi-spa
  • Automatically add providers, rather than use getExtraProviders like in previous versions
  • creating the application ref is done within single-spa-angular rather than inside of user code, to make it similar to other single-spa helper libraries. This allows single-spa-angular to automatically add providers as needed to the application's root component
  • automatically detect selector for aot compiled root component.

@Greech
Copy link

Greech commented Jan 15, 2026

Hi,
Is there a chance that this PR will be merged any soon?

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 this pull request may close these issues.

2 participants