react-redux-universal-hot-example icon indicating copy to clipboard operation
react-redux-universal-hot-example copied to clipboard

How to reset state and persist store on logout

Open colinduwe opened this issue 6 years ago • 0 comments

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.

colinduwe avatar Jan 16 '19 17:01 colinduwe