-
Notifications
You must be signed in to change notification settings - Fork 856
Closed
Description
Hi folks 👋,
I just installed the redux-persist in a project still in its early stages and I'm facing this error message in the console as first thing when the page loads. I haven't done much besides including the lib as is, and my reducers are pretty simple for now, so I believe it has something to do with redux-persist itself?
Error:
index.js:1446 A non-serializable value was detected in an action, in the path: `register`. Value: ƒ register(key) {
_pStore.dispatch({
type: _constants__WEBPACK_IMPORTED_MODULE_2__["REGISTER"],
key: key
});
}Code above is followed by this message:
- Take a look at the logic that dispatched this action: {type: "persist/PERSIST", register: ƒ, rehydrate: ƒ}...
- (See https://redux.js.org/faq/actions#why-should-type-be-a-string-or-at-least-serializable-why-should-my-action-types-be-constants)
Could anyone help me pointing me in the right direction? It does not break the application, but the error message is there in the console.
Cheers,
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
