Search code examples
angularreduxrxjsredux-observableredux-middleware

where i can find tutorial for Epics in redux observale?


I have not found a single tutorial which explains detailed about epics.

   onst pingEpic = action$ =>
  action$.filter(action => action.type === 'PING')
    .delay(1000) // Asynchronously wait 1000ms then continue
    .mapTo({ type: 'PONG' });

// later...
dispatch({ type: 'PING' });

Solution

  • Our documentation contains [what we hope is] good documentation, assuming you already have a solid understanding of RxJS. Have you taken a look?

    I noticed you also tagged Angular. You don't have to use angular-redux to use redux and redux-observable, but if you do they also have some short docs about using it with redux-observable.

    If you have specific questions not answered in the redux-observable docs, feel free to ask them as Stack Overflow questions! :)