Created
April 27, 2018 16:55
-
-
Save radzionc/0d283d8fba914f37239a3d76912e2c79 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
const someAction = createAction('some action') | |
function* someSaga() { | |
// make some async staff | |
} | |
export default function* saga() { | |
yield takeLatest(someAction.getType(), someSaga) | |
// and for each action the same staff ... | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment