Last active
October 12, 2018 08:48
-
-
Save minajevs/043cc0f632c1cf9ea95b8eeac11f6671 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function thunk(payload) { | |
return function (dispatch) { | |
doSomething(payload) | |
return dispatch(someAction()) | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment