https://github.com/fiatjaf/xstream-pass
track React events with xstream, listen to them somewhere else
https://github.com/fiatjaf/xstream-pass
react xstream
Last synced: about 1 month ago
JSON representation
track React events with xstream, listen to them somewhere else
- Host: GitHub
- URL: https://github.com/fiatjaf/xstream-pass
- Owner: fiatjaf
- Created: 2017-06-16T14:00:44.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-16T14:00:56.000Z (almost 9 years ago)
- Last Synced: 2026-05-01T03:45:31.029Z (about 2 months ago)
- Topics: react, xstream
- Language: JavaScript
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
xstream-pass is mostly useful for tracking React events.
```jsx
const {track, listen} = require('xstream-pass')
// React component:
// handler somewhere:
listen('input.name', 'change')
.map(e => e.target.value)
```
For more information, please read the source.