Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

createSerializableStateInvariantMiddleware for Record in React Redux TS #1911

Open
long76 opened this issue Sep 22, 2022 · 1 comment
Open

Comments

@long76
Copy link

long76 commented Sep 22, 2022

https://redux-toolkit.js.org/api/serializabilityMiddleware has example with Immutable JS Iterable. How create it for Record?

What happened

console error

react_devtools_backend.js:4026 A non-serializable value was detected in the state, in the path: `<root>`. Value: Record

How to reproduce

put in react redux store Record and load page

@long76
Copy link
Author

long76 commented Sep 22, 2022

maybe better middleware for all immutable js types?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant