Skip to content

Instantly share code, notes, and snippets.

@productioncoder
Created October 27, 2018 12:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save productioncoder/c3564e8299e633e81b42d02d63b59e9e to your computer and use it in GitHub Desktop.
Save productioncoder/c3564e8299e633e81b42d02d63b59e9e to your computer and use it in GitHub Desktop.
Youtube root saga with video categories
import {all, call, put, fork} from 'redux-saga/effects';
import {watchMostPopularVideos, watchVideoCategories} from './video';
export default function* () {
yield all([
fork(watchMostPopularVideos),
fork(watchVideoCategories),
]);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment