Skip to content

React Navigation v5 async storage trigger problem #9446

Answered by raajnadar
YunusEmreNalbant asked this question in Q&A
Discussion options

You must be logged in to vote

You need a global state management to trigger a re render to switch between auth & no auth state. I always used context api because it is built in react js.

If you use async storage just call a state update to switch!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@YunusEmreNalbant
Comment options

Answer selected by YunusEmreNalbant
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #9443 on March 21, 2021 18:20.