Skip to content

RxJS middleware for action side effects in Redux using "Epics"

License

Notifications You must be signed in to change notification settings

rv2e/redux-observable

This branch is 341 commits behind redux-observable/redux-observable:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

2ed7851 · Dec 15, 2016
Sep 25, 2016
Dec 15, 2016
Oct 6, 2016
Jul 12, 2016
Jul 24, 2016
Nov 17, 2016
Nov 17, 2016
Sep 18, 2016
Apr 22, 2016
Jun 22, 2016
Sep 11, 2016
Sep 11, 2016
Nov 18, 2016
Jul 12, 2016
Jul 12, 2016
Jul 14, 2016
Oct 10, 2016
Nov 10, 2016
Aug 4, 2016
Sep 18, 2016
Dec 2, 2016
Dec 9, 2016
Sep 11, 2016
Jun 22, 2016

Repository files navigation

Join the chat at https://gitter.im/redux-observable/redux-observable build status npm version npm downloads code climate

RxJS 5-based middleware for Redux. Compose and cancel async actions to create side effects and more.

https://redux-observable.js.org

Install

This has peer dependencies of rxjs@5.0.* and redux, which will have to be installed as well.

npm install --save redux-observable

IMPORTANT: redux-observable does not add any of the RxJS operators to the Observable.prototype so you will need to import the ones you use or import all of them in your entry file. Learn more.

Adapters

You can use other stream libraries (other than RxJS v5) by using an Adapter.

You can write your own adapter too:

const adapter = {
  input: input$ => /* convert Observable to your preferred stream library */,
  output: output$ => /* convert your preferred stream back to an Observable */
};

See the existing adapters for examples. Keep in mind that while you still need RxJS v5 installed, redux-observable only pulls in the minimum amount of RxJS it needs internally--it doesn't import all of RxJS.

UMD

We publish a UMD build inside our npm package. You can use it via the unpkg CDN:

https://unpkg.com/redux-observable@latest/dist/redux-observable.min.js

Watch an introduction

Watch a video on redux-observable

JSBin Examples

To see redux-observable in action, here's a very simple JSBin to play around with:

Documentation

Discuss

Join the chat at https://gitter.im/redux-observable/redux-observable

Everyone is welcome on our Gitter channel!

Custom Emoji

Save this:

Add the redux-observable spinning logo to your Slack channel! Slack Instructions


:shipit:

About

RxJS middleware for action side effects in Redux using "Epics"

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 76.2%
  • TypeScript 18.7%
  • Shell 3.8%
  • CSS 1.3%