rt2zz / redux-persist

persist and rehydrate a redux store
MIT License
12.94k stars 866 forks source link

A non-serializable value was detected in the state 😥 #1445

Closed m3nur closed 1 year ago

m3nur commented 1 year ago

image

joshkel commented 1 year ago

I don't believe these errors have anything to do with redux-persist. history/fetchHistorySuccess isn't one of redux-persist's internal actions, and messages about "A non-serializable value was detected in an action" are logged by redux-toolkit (specifically, its serializable check middleware), not by redux-persist. For more information, see the URLs from those messages (e.g., https://redux-toolkit.js.org/usage/usage-guide.html#working-with-non-serializable-data).