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
url is still "/widgets", which doesn't match the component on the screen
Description
The example has an onEnter hook which calls the callback after two seconds. When you move away from the "Users" route to "Widgets" all works fine. After the delay finishes you get an inconsistent state, as described above.
I think the problem lies in async management of hooks, where waiting callbacks should be dismissed on a location change.
The text was updated successfully, but these errors were encountered:
Version
2.4.0
Test Case
http://codepen.io/hoschi/pen/wGbZWo?editors=0010
Steps to reproduce
Expected Behavior
Actual Behavior
Description
The example has an
onEnter
hook which calls thecallback
after two seconds. When you move away from the "Users" route to "Widgets" all works fine. After the delay finishes you get an inconsistent state, as described above.I think the problem lies in async management of hooks, where waiting callbacks should be dismissed on a location change.
The text was updated successfully, but these errors were encountered: