We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
According to the docs, it should be possible to dispatch multiple actions in parallel by passing an array of actions to the store:
// dispatch multiple object in parallel socrates([ { type: 'change:name', payload: { name: 'an' }}, { type: 'change:age', payload: { age: 26 }} ])
But when I attempt this, I get the following redux error: Error: Actions must be plain objects. Use custom middleware for async actions.
Error: Actions must be plain objects. Use custom middleware for async actions.
My code:
const slots = { /* a plain object */ } , exceptions = { /* a plain object */ }; store([ { type: "set:slots", payload: slots }, { type: "set:exceptions", payload: exceptions }, ]);
Running each action individually works without issue:
store("set:slots", slots); store("set:exceptions", exceptions);
The text was updated successfully, but these errors were encountered:
No branches or pull requests
According to the docs, it should be possible to dispatch multiple actions in parallel by passing an array of actions to the store:
But when I attempt this, I get the following redux error:
Error: Actions must be plain objects. Use custom middleware for async actions.
My code:
Running each action individually works without issue:
The text was updated successfully, but these errors were encountered: