refract-preact-xstream
Advanced tools
Comparing version 1.0.0-0 to 1.0.0-1
{ | ||
"name": "refract-preact-xstream", | ||
"version": "1.0.0-0", | ||
"version": "1.0.0-1", | ||
"main": "index.js", | ||
@@ -12,4 +12,4 @@ "jsnext:main": "index.es.js", | ||
"preact": "^8.0.0", | ||
"xstream": ">= 1.0.0 < 12.0.0" | ||
"xstream": ">= 11.3.0 < 12.0.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> · | ||
@@ -125,8 +125,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 | ||
@@ -133,0 +139,0 @@ |
@@ -1,2 +0,2 @@ | ||
import xs, { Stream, Listener, Subscription } from 'xstream' | ||
import { Stream, Listener, Subscription } from 'xstream' | ||
export { Listener, Subscription } | ||
@@ -13,6 +13,6 @@ export interface ObservableComponent { | ||
export declare const subscribeToSink: <T>( | ||
sink: xs<T>, | ||
sink: Stream<T>, | ||
next: (val: T) => void, | ||
error?: (error: any) => void | ||
) => Subscription | ||
export declare const createObservable: <T>(subscribe: any) => xs<T> | ||
export declare const createObservable: <T>(subscribe: any) => Stream<T> |
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
28631
155