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
react-native-router-flux v3.40.1 (v3 is not supported)
react-native v0.46.4
Expected behaviour
When I press button, What I expected to go to the specific page and refresh it.
When I use Actions.home({ type: ActionConst.RESET}), it actually go to the home page, but doesn't refresh.
When I use Actions.home({ type:ActionConst.REPLACE}), it go to the home page and refresh it. But When I trigger some actions to refresh the home page again, I will send multiple requests to the backend. I found the issue, it's caused by 'REPLACE', which will keep the old home component in the stack. When I refresh it, it will make all home components refreshed.
Can you help me how to resolve it? I want to go the home page and refresh it and keep only one home component in the stack.
Thanks,
The text was updated successfully, but these errors were encountered:
I am having the same problem as well.
This is my current setup.
a -> b-> c -> d
If I try to reset from d to a, it works but screen a would show a blank screen. Do note that this only happen to Android and this bug does not appear consistently.
Version
Tell us which versions you are using:
Expected behaviour
When I press button, What I expected to go to the specific page and refresh it.
When I use Actions.home({ type: ActionConst.RESET}), it actually go to the home page, but doesn't refresh.
When I use Actions.home({ type:ActionConst.REPLACE}), it go to the home page and refresh it. But When I trigger some actions to refresh the home page again, I will send multiple requests to the backend. I found the issue, it's caused by 'REPLACE', which will keep the old home component in the stack. When I refresh it, it will make all home components refreshed.
Can you help me how to resolve it? I want to go the home page and refresh it and keep only one home component in the stack.
Thanks,
The text was updated successfully, but these errors were encountered: