Skip to content

Instantly share code, notes, and snippets.

@productioncoder productioncoder/index.js
Last active Dec 18, 2018

Embed
What would you like to do?
Youtube root saga with watchDetails watcher saga
import {all, call, put, fork} from 'redux-saga/effects';
import {watchMostPopularVideos, watchMostPopularVideosByCategory, watchVideoCategories} from './video';
import {watchWatchDetails} from './watch';
export default function* () {
yield all([
fork(watchMostPopularVideos),
fork(watchVideoCategories),
fork(watchMostPopularVideosByCategory),
fork(watchWatchDetails)
]);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.