You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting an error from redux as soon as I dispatch firstRoute Action, I guess it's because commit inside it is a function/ promise to render react after it.
index.js:1 A non-serializable value was detected in an action, in the path: `commit`. Value: ƒ (action) {
if (committed) return Promise.resolve();
committed = true;
return Promise.resolve(commit(action)).then(function () {
if (!_this8.options.save) return;
…
Take a look at the logic that dispatched this action: {type: "HOME", params: {…}, query: {…}, hash: "", state: {…}, …}
I'm getting an error from redux as soon as I dispatch
firstRoute
Action, I guess it's becausecommit
inside it is a function/ promise to render react after it.It tells me to see: https://redux.js.org/faq/actions#why-should-type-be-a-string-or-at-least-serializable-why-should-my-action-types-be-constants
Is there a workaround? or another way of lifting the router without dispatching a non serializable action?
After that everything seems to work fine.
Thanks!
The text was updated successfully, but these errors were encountered: