Closed
Description
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)