App goes to '/' for split second even when initialRoute is set to 'sign-in' #886
Unanswered
kyusungpark
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Can you please share your repo, the screenshot is not enough for us to assist you. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey everyone,
I have been trying to figure this issue out, but wasn't able to so I thought I ask here.
I have an app that requires users to sign in, so it will attempt to load sign-in screen before anything else.
I noticed that whenever I load the app, it will attempt to go to '/', then renders '/' and lastly lands on 'sign-in' screen.
I did set the initialRouteName to the sign in component like below:
This is a problem for me because when I build a preview, then click the back arrow(<) on the bottom provided by the app itself, it shows the home screen for split second.
Would love to get some ideas from the community.
Thanks,
Beta Was this translation helpful? Give feedback.
All reactions