Skip to content
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

How to reset state and persist store on logout #517

Open
colinduwe opened this issue Jan 16, 2019 · 0 comments
Open

How to reset state and persist store on logout #517

colinduwe opened this issue Jan 16, 2019 · 0 comments

Comments

@colinduwe
Copy link

Bit of a noob question but I'm trying to clear part of the app state and the persist store when the user logs out (clear the user-specific app state)

I can't quite seem to translate the advice here: https://stackoverflow.com/questions/35622588/how-to-reset-the-state-of-a-redux-store into the context of this project's /src/redux/create.js

Any advice would be greatly appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant