rxact-xstream
v1.0.0-beta.1
Published
Xstream binding for Rxact.
Downloads
3
Readme
Rxact Xstream is a Rxact plugin for adding Xstream supporting to Rxact.
Installation
yarn add rxact rxact-xstream
Usage
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$
...