You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
disallow route change until the 'resolve' will not be resolved #114
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?
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.
Activity
minimalism commentedon Mar 2, 2016
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.
disallow route change until the 'resolve' will not be resolved artch#114