You Provided `undefined` Where A Stream Was Expected In Redux Observable
Trying to wrap my head around RxJS and redux observable I have this: export const getSomeData = (action$) => action$.pipe( ofType(GET_USER_DATA), mergeMap((
Solution 1:
mergeMap
should return an observable
mergeMap((data) => {
const newData = data.somethingelse
return of(fetchUserFulfilled(newData), anotherOne(newData))
}),
Post a Comment for "You Provided `undefined` Where A Stream Was Expected In Redux Observable"