redux-persist
redux-persist copied to clipboard
feat: resync state
In our application, we want to resync our redux state from localStorage when the user re-focuses the tab
We do this so that if the user has multiple pages accessing the same localStorage instance, the user tab the user has focused always pulls the latest state.
In a sense, this resync
action is the opposite of flush