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

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

Open
SystemDevil opened this issue Feb 19, 2016 · 1 comment
Open

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

SystemDevil opened this issue Feb 19, 2016 · 1 comment

Comments

@SystemDevil
Copy link

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.

@minimalism
Copy link

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.

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

No branches or pull requests

2 participants