https://github.com/darmody/rxact-xstream
Rxact plugin for adding xstream supporting to Rxact.
https://github.com/darmody/rxact-xstream
rxact xstream
Last synced: about 1 year ago
JSON representation
Rxact plugin for adding xstream supporting to Rxact.
- Host: GitHub
- URL: https://github.com/darmody/rxact-xstream
- Owner: Darmody
- License: mit
- Created: 2017-10-12T07:16:34.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-10-31T01:45:59.000Z (over 8 years ago)
- Last Synced: 2024-04-25T13:41:00.021Z (about 2 years ago)
- Topics: rxact, xstream
- Language: JavaScript
- Homepage:
- Size: 43 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Rxact Xstream
[](https://www.npmjs.com/package/rxact-xstream)
[](https://circleci.com/gh/Darmody/rxact-xstream/tree/master)
[](https://coveralls.io/github/Darmody/rxact-xstream)
Rxact Xstream is a Rxact plugin for adding Xstream supporting to Rxact.
## Installation
```
yarn add rxact rxact-xstream
```
## Usage
```javascript
import { setup, StateStream } from 'rxact'
import { Observable } from 'rxact-xstream'
setup({ Observable: Observable })
// it works now.
const stream = new StateStream('stream', { name: 'rxact' })
// state$ is a xstream instance now.
stream.state$
...
```
## License
[MIT](https://github.com/Darmody/rxact-xstream/blob/master/LICENSE)