You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever there's an async result returned from a guard (i.e. an Observable) attached to a route that's being navigated back to (i.e. by clicking the browser's back button), that guard is executed twice (first navigation event gets canceled). This results in breaking the browsing history.
Background
Whenever there's an async result returned from a guard (i.e. an Observable) attached to a route that's being navigated back to (i.e. by clicking the browser's back button), that guard is executed twice (first navigation event gets canceled). This results in breaking the browsing history.
Demonstration
I've pushed a minimal example forked from the official template: https://github.com/pawelbialaszczyk/coexisting-angular-microfrontends. Used the latest single-spa, single-spa-angular and angular versions.
Repro steps:
Expected Behavior
When clicking Go back the guard is executed once
Actual Behavior
When clicking Go back the guard is executed twice
The text was updated successfully, but these errors were encountered: