Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

redux-observable

Package Overview
Dependencies
Maintainers
2
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redux-observable - npm Package Compare versions

Comparing version 0.2.0 to 0.3.0

lib/middleware.js

10

CHANGELOG.md

@@ -0,1 +1,11 @@

<a name="0.3.0"></a>
# [0.3.0](https://github.com/blesh/redux-observable/compare/0.2.0...v0.3.0) (2016-05-12)
### Bug Fixes
* **naming:** get rid of references to rxDucks missed during renaming ([04c54c6](https://github.com/blesh/redux-observable/commit/04c54c6))
<a name=""></a>

@@ -2,0 +12,0 @@ # [](//compare/0.1.0...vundefined) (2016-05-12)

2

index.js

@@ -1,1 +0,1 @@

module.exports = require('./lib/rxDucksMiddleware');
module.exports = require('./lib/middleware');
{
"name": "redux-observable",
"version": "0.2.0",
"version": "0.3.0",
"description": "creates RxJS based middleware for Redux",

@@ -15,3 +15,3 @@ "main": "index.js",

"type": "git",
"url": "git+https://github.com/blesh/rx-ducks-middleware.git"
"url": "git+https://github.com/blesh/redux-observable.git"
},

@@ -18,0 +18,0 @@ "keywords": [

@@ -0,1 +1,3 @@

![LOGO](resources/logo-medium.png)
# redux-observable (beta)

@@ -17,3 +19,3 @@

```sh
npm i -S rx-ducks-middleware
npm i -S redux-observable
```

@@ -25,3 +27,3 @@

With rxDucksMiddleware, you can dispatch any function that returns an observable,
With redux-observable, you can dispatch any function that returns an observable,
a promise, an observable-like object or an iterable. The basic call looks like:

@@ -93,3 +95,3 @@

import { createStore, applyMiddleware } from 'redux';
import { rxDucksMiddleware } from 'rx-ducks-middleware';
import { reduxObservable } from 'redux-observable';
import * as Rx from 'rxjs';

@@ -111,5 +113,5 @@

// making a store
const store = createStore(reducer, applyMiddleware(rxDucksMiddleware()));
const store = createStore(reducer, applyMiddleware(reduxObservable()));
// HERE BE THE DUCKS
// set up async dispatches here
const loadData = () => (actions, store) => Observable.of('hello world')

@@ -116,0 +118,0 @@ .delay(1000)

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc