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
I would like to switch between Scenes on authentication. I used the approach shown in this issue: #913
but it does not rerender when I sign in/ sign out
I'd like to rerender my Router when I pass props to change the screen, not sure though whether it is possible this way
Although it works well once app is launched, it does not change the scene when the flag changed down the road, etc when user signs in/ signs out.
It looks like, despite the fact that render() function is being called with the correct props, the router remains the same, is it some intrinsic feature of Router that its root is rendered only once on launch?
The text was updated successfully, but these errors were encountered:
I would like to switch between Scenes on authentication. I used the approach shown in this issue:
#913
but it does not rerender when I sign in/ sign out
I'd like to rerender my Router when I pass props to change the screen, not sure though whether it is possible this way
My router:
My App.js
Although it works well once app is launched, it does not change the scene when the flag changed down the road, etc when user signs in/ signs out.
It looks like, despite the fact that render() function is being called with the correct props, the router remains the same, is it some intrinsic feature of Router that its root is rendered only once on launch?
The text was updated successfully, but these errors were encountered: