Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

routing clears parent app state, how to maintain state while using this module? #165

Open
subinpauljoy opened this issue Sep 15, 2021 · 0 comments

Comments

@subinpauljoy
Copy link

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?

@subinpauljoy 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 free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant