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

Angular + Single SPA - micro parcel with wrong behavior #347

Open
dfealves opened this issue Mar 25, 2021 · 1 comment
Open

Angular + Single SPA - micro parcel with wrong behavior #347

dfealves opened this issue Mar 25, 2021 · 1 comment

Comments

@dfealves
Copy link

Hello guys,

I'm trying to add a parcel micro-app inside another micro-app, but the behavior is incorrect, I made a screen recording to better exemplify

Video Angular + Single SPA

Captura de tela de 2021-03-25 17-16-20
Captura de tela de 2021-03-25 17-16-07
Captura de tela de 2021-03-25 17-15-56
Captura de tela de 2021-03-25 17-52-12

@dfealves dfealves changed the title micro parcel with wrong behavior Angular + Single SPA - micro parcel with wrong behavior Mar 25, 2021
@joeldenning
Copy link
Member

Since the issue is with the back button it's probably related to angular router. Make sure the parcel has the router configured properly, as documented in https://single-spa.js.org/docs/ecosystem-angular#configure-routes. Also make sure you're using the extra single-spa providers, as they're related to the router (see https://single-spa.js.org/docs/ecosystem-angular#api-updates).

There's a long history of Angular Router not playing nice with single-spa router, so there's a possibility that it's related to that. i don't diagnose single-spa-angular issues anymore, but perhaps some of the other maintainers could help diagnose this. To help them, please provide a repo that demonstrates the issue. I'm transferring this to the single-spa-angular repo.

@joeldenning joeldenning transferred this issue from single-spa/single-spa Mar 29, 2021
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

No branches or pull requests

2 participants