Uncaught DOMException: Failed to execute 'pushState' on 'History' #27
Comments
I'm experimenting with
I'm using it as follow. App.js
LandingScreen.js
AboutScreen and ContactScreen are similar to LandingScreen. |
@reactnewb Giving uriPrefix to navigator might help. |
@foloinfo, Thanks for the quick response.
The workaround that you suggested that made me install I'm wondering that is it possible to use
Thanks. |
@reactnewb If you are not using this for native app, then you don't need to use Maybe try setting |
Hi @foloinfo, Setting uriPrefix to
Thanks. |
@reactnewb You might fix it through setting path to Also I'm not sure if added: I'm kind of 'guessing' from my experience, so don't trust what I write too much. added2:
|
Hi @foloinfo, I've updated my Many Thanks. 🙌 For future reference:
|
Hi, I'm trying to use
createBrowserApp
with latest preview for expo's web support.Navigation itself works fine, but URL is not updated when navigation happens.
here is the error
What I'm trying to do is to navigate from
/
to/groups/someuid
. Page will change, but URL stays same.Also when I visit
/groups/someuid
it always renders/
, so deeplink is not working.I'm using nested navigators by the way.
FYI:
My current workaround is to actually use
createAppContainer
instead ofcreateBrowserApp
, and manually rewrite URL.Since there is a minor bug on using
createAppContainer
, but setting up prefix solves deeplink issue, and it works fine, but I want to know if there is a better solution for this.ref: Deeplink with react-navigation will fail due to prefix returned by expo Linking · Issue #27 · expo/web-examples
The text was updated successfully, but these errors were encountered: