1234567891011121314151617181920 |
- import { combineEpics } from 'redux-observable';
- import 'rxjs';// used for example epic
- const rootEpic = combineEpics(
-
- );
- // use this
- //export { rootEpic as default };
- // delete example
- export default function exampleEpic(action$) {
- return action$.ofType('PING')
- .mapTo({type: 'PONG'});
- };
|