Skip to content

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

Closed
@christopherthielen

Description

@christopherthielen

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions