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
Hey @jeetiss, thanks for reporting.
My guess is that this isn't connected to the popstate event, but rather to a fact that the rendering order of Switch and nested Route isn't deterministic: while normally the rendering order is as following:
Switch renders
Route renders
when an event happens outside of the event handling routine it could happen that the inner Route renders first and then the corresponding Switch component. I have one possible solution in mind, but I first need to reproduce this as a regression test.
Make codesandbox
And video with reproducing bug 馃
The text was updated successfully, but these errors were encountered: