redux-persist icon indicating copy to clipboard operation
redux-persist copied to clipboard

feat: resync state

Open SebastienGllmt opened this issue 2 years ago • 0 comments

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

SebastienGllmt avatar Aug 16 '22 05:08 SebastienGllmt