redux-observable
Advanced tools
Comparing version 0.2.0 to 0.3.0
@@ -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) |
@@ -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) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
138560
10
142