An open API service indexing awesome lists of open source software.

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

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.