xstream-pass
v1.0.0
Published
Easily pass values from one point to streams listening at another.
Downloads
2
Maintainers
Readme
xstream-pass is mostly useful for tracking React events.
const {track, listen} = require('xstream-pass')
// React component:
<input className="name" onChange={track}>
// handler somewhere:
listen('input.name', 'change')
.map(e => e.target.value)
For more information, please read the source.