-
Notifications
You must be signed in to change notification settings - Fork 650
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
navigationState duplicate key when restarting the app after an error #52
Comments
I have narrowed down this issue to this line: in also found this related issues with a good description: jlyman/RN-NavigationExperimental-Redux-Example#10 proposed fix:
Basically it checks that the child is not already present before pushing it in. |
@fabriziomoscon is this issue solved by #89 or is there something more we need to do in your opinion? |
@jevakallio I haven't see this issue at all after implementing the change in PR #89 |
Awesome 🎉 |
@jevakallio
I reproduced the scene stack error I mentioned to you at the meetup. This happens when I open the app after another error occurred. So I guess leaving some dirty state in the application.
Contacts
is the name of the route. To clear this error I have to clean manually the data cache for the app.UPDATE:
This happens when inside the NavigationState another
children
with the samekey
gets pushedusing the chrome debug console:
The text was updated successfully, but these errors were encountered: