-
Notifications
You must be signed in to change notification settings - Fork 650
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What is the easiest way to clear state? #225
Comments
Glad I am not the only one experiencing this, especially with the Navigation structure - this might get really tricky with app Updates. Did you find any solution for this? |
At least the action RESET_STATE does exactly what we need. But I guess we need to hook this into the navigation state so that it dispatches this action in case it would fail otherwise. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Silly question, but when you change just about anything in the sample, e.g. the name of the key for one of your navigation screens, the app won't run anymore (red screen) because the navigator is reading a state value from the store that the app does not understand.
Given the app doesn't run in this state, you can't use the developer menu Clear State function, so what is the simple trick for quickly clearing state in this case?
I've been renaming the APP_STORAGE_KEY to force a new initial state, but I must be missing a simple trick you all must be using.
The text was updated successfully, but these errors were encountered: