Socket
Socket
Sign inDemoInstall

cycle-react

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cycle-react - npm Package Compare versions

Comparing version 2.0.0-beta1 to 2.0.0

14

CHANGELOG.md
# 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 @@

2

package.json
{
"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)
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