react-native-template-allmax
Version:
React native template with navigation, redux, redux-saga, eslit, flow, reactotron
20 lines (15 loc) • 370 B
JavaScript
/**
* Created by Bardiaswift
*
* @flow
*/
import { all } from 'redux-saga/effects';
import type { Saga } from '~/types';
import app from '~/modules/app/sagas';
import books from '~/modules/books/sagas';
export default function* sagas(): Saga<void> {
yield all([
app,
books,
].reduce((allSagas, currentSagas) => allSagas.concat(currentSagas), []));
}