Skip to content

Instantly share code, notes, and snippets.

@productioncoder
Created October 28, 2018 10:15
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/3bc8137e19136171df2fc5632badfb04 to your computer and use it in GitHub Desktop.
Save productioncoder/3bc8137e19136171df2fc5632badfb04 to your computer and use it in GitHub Desktop.
Youtube wire up most popular videos by id saga to root saga
import {all, call, put, fork} from 'redux-saga/effects';
import {watchMostPopularVideos, watchMostPopularVideosByCategory, watchVideoCategories} from './video';
export default function* () {
yield all([
fork(watchMostPopularVideos),
fork(watchVideoCategories),
fork(watchMostPopularVideosByCategory)
]);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment