react-redux-universal-hot-example
react-redux-universal-hot-example copied to clipboard
How to reset state and persist store on logout
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.