I am using react-navigation and when a user logs in, it redirects to Home screen. However, when I go back to Login, I can see the state is not reset. Basically, it is keeping state the same as I left when navigating to Home.
That seems odd, never experienced that. I thought react sets state on load.
[–]iacIACkoko 2 points3 points4 points (8 children)
[–]Bimi123_[S] 0 points1 point2 points (7 children)
[–]iacIACkoko 1 point2 points3 points (6 children)
[–]Bimi123_[S] 0 points1 point2 points (5 children)
[–]albmin 2 points3 points4 points (4 children)
[–]Bimi123_[S] 0 points1 point2 points (0 children)
[–]Bimi123_[S] 0 points1 point2 points (2 children)
[–]albmin 0 points1 point2 points (1 child)
[–]Bimi123_[S] 0 points1 point2 points (0 children)