Skip to content

disallow route change until the 'resolve' will not be resolved #114

Open

Description

@SystemDevil

I have situation when you come to 'route1' ($resource1 with a lot of data) and then make a fast switch to 'route2' ($resource2 with less of data) - 'resolve2' resolves faster and we got it data, but then 'resolve1' is going to be resolved and it overwrites 'resolve2' and we got wrong data in right route.

Is there possibility to disallow route change until the 'resolve' will not be resolved? Or maybe you can propose some solution?

P.S. Sorry for my bad english.

Activity

  1. minimalism commented on Mar 2, 2016

    @minimalism

    I have this exact issue - if the user follows a link to route A, B then C, whichever one loads slowest will be displayed. I feel like the user should end up on whatever route they navigated to last.

    Edit: created a pull request with my attempt to fix this.

  2. added a commit that references this issue on Apr 26, 2016
    143b781
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions