This repository was archived by the owner on Mar 17, 2025. It is now read-only.
back() and canGoBack() don't work after reloading the page on web #894
nabilfreeman
started this conversation in
General
Replies: 1 comment
-
|
On the web, I think Expo Router should identify the first route load, using |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I didn't open an issue for this as I'm sure you guys are aware and working on it in v3.
I noticed that the store behind
useRouter()is not persistent and doesn't work after a page reload.For now I have worked around it by using
window.navigation.back()andwindow.navigation.canGoBackwhen the platform is web.Beta Was this translation helpful? Give feedback.
All reactions