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
Hi, i am in the middle of a migration from react-router to tanstack-router and to my surprise the navigation blocker here does not block the browser's back button in the same way.
I saw that was mentioned in the docs so its by design and not a bug.
Is there a way to mimic this behavior of react-router with the history api of tanstack-router (even if it does not work consistenltly accross all browsers)?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, i am in the middle of a migration from react-router to tanstack-router and to my surprise the navigation blocker here does not block the browser's back button in the same way.
I saw that was mentioned in the docs so its by design and not a bug.
Is there a way to mimic this behavior of react-router with the history api of tanstack-router (even if it does not work consistenltly accross all browsers)?
Related to: #701
Beta Was this translation helpful? Give feedback.
All reactions