redux-persist
redux-persist copied to clipboard
What if flush called after pause?
How it will work if I call:
- pause
- logout action (clear state from user data)
- call flush
Will it persist something? If yes, will it persist state before pause or after?
In what order should these function be called to remove everything and don't allow to write anything after? For other async action creators for example.
I think docs should be updated with that.