Created
May 22, 2018 01:46
-
-
Save zaguiini/72434ea5efb12122713f8f21e5620f92 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| import { takeLatest } from 'redux-saga/effects' | |
| import { | |
| CREATE_USER, | |
| FETCH_USER, | |
| } from 'src/store/definitions' | |
| import { | |
| createUserSaga, | |
| fetchUserSaga, | |
| } from './user' | |
| function* rootSaga() { | |
| yield takeLatest(CREATE_USER, createUserSaga) | |
| yield takeLatest(FETCH_USER, fetchUserSaga) | |
| } | |
| export default rootSaga |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment