-
Notifications
You must be signed in to change notification settings - Fork 183
Mention that redux actions should be serializable #22
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
Comments
Sorry that I intervene, but I don't think that "actions should be serializable" is limitation of react-chrome-redux. |
@viskin It is not a limitation of
The Redux app might work without a problem on the web or mobile (with
|
@mironov Have you looked into dispatchResponder? This was included to allow a "conversion" to a serializable object that the UI Components understand. The bottom example is an example with |
Also, I'm happy to work with someone on the README sections. Right now it exists as a collection of wiki links. |
@tshaddix Oh wow! Sorry, I overlooked this example somehow. I think the easiest thing to do is to change headers to "Usage with redux-thunk" and "Usage with a promise middleware" on the Advanced Usage page. Feel free to close the issue since the workaround is already documented. |
@mironov, great to hear! I agree we should probably breakout the Readme sections into something a little more recognizable. I would like to keep the documentation package-agnostic. Ideas? |
Please add that to the Limitations section of the README.
For example
redux-promise-middleware
andredux-api-middleware v1
will not work because actions they produce are not serializable.redux-api-middleware v2 beta
has String key instead of Symbol making it compatible withreact-chrome-redux
.The text was updated successfully, but these errors were encountered: