Package Exports
- react-announce-connect
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-announce-connect) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
react-announce-connect 
A react-announce declarative that applies an observable onto the component state.
Install
npm i react-announce-connect --save
Example
The following example will display the time and get updated every 100ms
import {connect} from 'react-announce-connect'
import {Observable} from 'rx'
import {Component} from 'react'
const timer = Observable.interval(100).map(() => new Date())
@connect({time})
class Timer extends Component {
render () {
return (
<div>{this.state.time}</div>
)
}
}