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
In short:
Redux devtools serialize actions and state. Action @@ui/CREATE_COMPONENT_STATE has the prop payload.props which can contain react nodes, which can't be handled by this serialization in some cases. To fix this implement toJSON and stub it out, see:
My use case which showed that bug:
I added react-sticky-state to my app which is a child of a component in the node tree of one child in this payload.props.children property:
One of the nodes/props react-sticky-state has something it it that is not serializable. I temporary fixed it by excluding this action in redux devtools:
if(process.env.NODE_ENV==='development'&&window.__REDUX_DEVTOOLS_EXTENSION__){storeEnhancers.push(window.__REDUX_DEVTOOLS_EXTENSION__({serialize: {// save complex data types which are not serializable by defaultoptions: true,},actionsBlacklist: ['@@ui/CREATE_COMPONENT_STATE']}));}
The text was updated successfully, but these errors were encountered:
In short:
Redux devtools serialize actions and state. Action
@@ui/CREATE_COMPONENT_STATE
has the proppayload.props
which can contain react nodes, which can't be handled by this serialization in some cases. To fix this implementtoJSON
and stub it out, see:My use case which showed that bug:
I added react-sticky-state to my app which is a child of a component in the node tree of one child in this
payload.props.children
property:One of the nodes/props react-sticky-state has something it it that is not serializable. I temporary fixed it by excluding this action in redux devtools:
The text was updated successfully, but these errors were encountered: