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
{{ message }}
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.
I have a main app component with two children. II am setting the state of parent from a path wich is first component. Then passing the state to second child using props. Strangely, when accessing the second route, the parent component state is getting cleared. Is it normal?
The text was updated successfully, but these errors were encountered:
subinpauljoy
changed the title
routing clears parent app state, how to maintian state while using this module?
routing clears parent app state, how to maintain state while using this module?
Sep 15, 2021
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have a main app component with two children. II am setting the state of parent from a path wich is first component. Then passing the state to second child using props. Strangely, when accessing the second route, the parent component state is getting cleared. Is it normal?
The text was updated successfully, but these errors were encountered: