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
As far as I can tell, the problem is that when quickly going A->B->A the router skips the dispatch and thus the run callback of the last A, since A is still the currently rendered path.
I've made the reproduction repo: https://github.com/th0r/react-router-bug
Clone it, run
npm i && npm start
, open browser console, go tohttp://localhost:8080/a
do the following:To B
linkTo A
linkResult: current location is
http://localhost:8080/a
, but the text on page isB component
(route handler for path/b
).The text was updated successfully, but these errors were encountered: