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

ng2.1.0.0-alpha.4: Attempt to use a dehydrated detector #2684

Closed
christopherthielen opened this issue Apr 9, 2016 · 0 comments
Closed

ng2.1.0.0-alpha.4: Attempt to use a dehydrated detector #2684

christopherthielen opened this issue Apr 9, 2016 · 0 comments

Comments

@christopherthielen
Copy link
Contributor

If you run the https://github.com/ui-router/quickstart-ng2 against ui-router 1.0.0.alpha.4, you will get "Attempt to use a dehydrated detector" when navigating from bar to foo. This is caused by the uiSrefStatus emitting an event (due to the transition finishing), and then being destroyed before the event can be processed by subscribers.

We should work around this problem by changing uiSrefStatus EventEmitter to be synchronous.

The behavior, and workaround, is explained in the analysis by @zeddever here: angular/angular#6786 (comment)

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

No branches or pull requests

1 participant