Skip to content
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

Visual Update not occurring despite everything happening correctly #76

Open
sscaff1 opened this issue May 28, 2016 · 0 comments
Open

Visual Update not occurring despite everything happening correctly #76

sscaff1 opened this issue May 28, 2016 · 0 comments

Comments

@sscaff1
Copy link

sscaff1 commented May 28, 2016

This conversation was started here jlyman/RN-NavigationExperimental-Redux-Example#20.

I thought it was worth mentioning in this repo. Basically I'm reseting my navigation state every time I change to one of my 5 tabs. When the app starts, I can navigate to 1 to 2 tabs before my app stops giving a visual update that the route has in fact changed. What's interesting; however, is that both my render function and renderScene function in my navigator are both running with the correct navigation state. I can't really figure out what's going on. In addition, I'm using redux persist and after I refresh the app manually the app takes me to the scene that should have been rendered prior to refreshing. In addition, some of the tabs have promises that run when the scene is rendered. Those promises are bring resolved in the background even though I see no visual update. I'm very confused about why this isn't working. I have my code posted on the link above. If I change my tab navigation to a jumpTo or push then my app works correctly. It just seems to be related to the reset. Any help is appreciate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant