BerkeleyTrue / react-redux-epic

37 stars 13 forks source link

support dependency injection #4

Closed cometta closed 7 years ago

cometta commented 7 years ago

are you able to support below for SSR ?

const epicMiddleware = createEpicMiddleware(rootEpic, { dependencies: { getJSON: ajax.getJSON } });

and later const fetchUserEpic = (action$, store, { getJSON }) =>

BerkeleyTrue commented 7 years ago

Yes, RRE does not interfere with the other arguments used in epics. Are you having difficulties getting this to work?