rt2zz / redux-persist

persist and rehydrate a redux store
MIT License
12.91k stars 862 forks source link

handle error when browser disabled localStorage #1374

Open lamseboen opened 2 years ago

lamseboen commented 2 years ago

hi, i just wanna ask, how to handle error when browser disabled localStorage, because i want to redirect my react page to /400, but because persistGate is in app.js, it will try to operate anything about redux-persist,

this is in case user do disabling localstorage and cookies on purpose