refract-redux-callbag
Advanced tools
Comparing version 1.0.0-6 to 1.0.0-7
@@ -30,3 +30,2 @@ import $$observable from 'symbol-observable'; | ||
var pipe = require('callbag-pipe'); | ||
var startWith = require('callbag-start-with'); | ||
var observeFactory = function (store) { | ||
@@ -48,3 +47,3 @@ var storeObservable = fromObs(store); | ||
if (typeof actionOrSelector === 'function') { | ||
return pipe(storeObservable, map(actionOrSelector), startWith(actionOrSelector(store.getState())), dropRepeats()); | ||
return pipe(storeObservable, map(actionOrSelector), dropRepeats()); | ||
} | ||
@@ -51,0 +50,0 @@ var _a; |
@@ -36,3 +36,2 @@ 'use strict'; | ||
var pipe = require('callbag-pipe'); | ||
var startWith = require('callbag-start-with'); | ||
var observeFactory = function (store) { | ||
@@ -54,3 +53,3 @@ var storeObservable = fromObs(store); | ||
if (typeof actionOrSelector === 'function') { | ||
return pipe(storeObservable, map(actionOrSelector), startWith(actionOrSelector(store.getState())), dropRepeats()); | ||
return pipe(storeObservable, map(actionOrSelector), dropRepeats()); | ||
} | ||
@@ -57,0 +56,0 @@ var _a; |
{ | ||
"name": "refract-redux-callbag", | ||
"version": "1.0.0-6", | ||
"version": "1.0.0-7", | ||
"main": "index.js", | ||
@@ -19,5 +19,4 @@ "jsnext:main": "index.es.js", | ||
"callbag-pipe": "~1.1.1", | ||
"callbag-start-with": "~2.1.1", | ||
"symbol-observable": "~1.2.0" | ||
} | ||
} |
@@ -15,3 +15,3 @@ <p align="center"> | ||
<a href="#the-gist"><strong>The gist</strong></a> · | ||
<a href="#documentation"><strong>Learn</strong></a> · | ||
<a href="#learn-refract"><strong>Learn</strong></a> · | ||
<a href="#contributing"><strong>Contribute</strong></a> · | ||
@@ -89,8 +89,14 @@ <a href="#discuss"><strong>Discuss</strong></a> | ||
# Documentation | ||
# Learn Refract | ||
_Links through to docs sub-pages._ | ||
## Documentation | ||
# Examples | ||
Documentation is available at [refract.js.org](https://refract.js.org). We aim to provide a helpful and thorough documentation: all documentation files are located on this repo and we welcome any pull request helping us achieve that goal. | ||
## Examples | ||
We maintain and will grow over time a set of examples to illustrate the potential of Refract, as well as providing reactive programming examples: [refract.js.org/examples](https://refract.js.org/examples). | ||
Examples are illustrative and not the idiomatic way to use Refract. Each example is available for the four reactive libraries we support (RxJS, xstream, Most and Callbag), and we provide links to run the code live on [codesandbox.io](https://codesandbox.io). All examples are hosted on this repo, and we welcome pull requests helping us maintaining them. | ||
# Contributing | ||
@@ -97,0 +103,0 @@ |
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
14607
7
119
204
- Removedcallbag-start-with@~2.1.1
- Removedcallbag-start-with@2.1.1(transitive)