cycle-react
Advanced tools
Comparing version 2.0.0-beta1 to 2.0.0
# Changelog | ||
## 2.0.0 | ||
Add feature: Support React Native. Thank @cem2ran for the PR. | ||
Breaking change: The peer dependency of React has been removed. | ||
> React 0.13 and React Native 0.7 are the supported versions of Cycle-React. | ||
> Cycle-React will put the dependency of React back once the isomorphic | ||
> module of [React 0.14](https://facebook.github.io/react/blog/2015/07/03/react-v0.14-beta-1.html) | ||
> has been released. | ||
> In addition, Cycle-React will move "applyToDOM" and "makeDOMDriver" | ||
> into the separated package for the upcoming "react-dom" package. | ||
## 1.0.1 | ||
@@ -4,0 +18,0 @@ |
{ | ||
"name": "cycle-react", | ||
"version": "2.0.0-beta1", | ||
"version": "2.0.0", | ||
"author": { | ||
@@ -5,0 +5,0 @@ "name": "pH200", |
@@ -20,3 +20,3 @@ # Cycle-React | ||
``` | ||
npm install cycle-react | ||
npm install cycle-react react | ||
``` | ||
@@ -103,2 +103,15 @@ | ||
## React Native | ||
To use Cycle-React with React Native, import Cycle-React with | ||
`cycle-react/native`. | ||
Example can be found at [examples/native](/examples/native) | ||
```js | ||
var {component, Rx} = require('cycle-react/native'); | ||
var Hello = component('Hello', () => | ||
Rx.Observable.just(<Text>Hello!</Text>) | ||
); | ||
``` | ||
## Cycle.js Driver | ||
@@ -155,4 +168,8 @@ | ||
## Contributions and thanks | ||
- [@cem2ran](https://github.com/cem2ran) for adding the support of React Native | ||
## License | ||
[The MIT License](/LICENSE) |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
3238538
2
173