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
There are a few functions left in util that dispatch actions. They should be converted to action creators. For each one:
util
git mv src/util/something.js src/action-creators/something.js
export default
dispatch({ type: X, value: Y })
return ({ type: X, value: Y )}
return (dispatch, getState) => { dispatch({ type: X, value: Y )}; dispatch({ type: A, value: B )}; }
import
dispatch
The text was updated successfully, but these errors were encountered:
Fixed in #670
Sorry, something went wrong.
anmolarora1
No branches or pull requests
There are a few functions left in
util
that dispatch actions. They should be converted to action creators. For each one:git mv src/util/something.js src/action-creators/something.js
export default
dispatch({ type: X, value: Y })
withreturn ({ type: X, value: Y )}
import
statements and wrap the call sites withdispatch
.The text was updated successfully, but these errors were encountered: