Re-RxJS
React bindings for RxJS
Docs
Main features
- 🌀 Truly Reactive
- ⚡️ Highly performant and free of memory-leaks
- 🔀 First class support for React Suspense
- ✂️ Decentralized and composable, thus enabling optimal code-splitting
- 🔬 Tiny and tree-shakeable
- 💪 Supports TypeScript
Docs
Examples
-
This is a contrived example based on this example from the React docs.
-
A search for Github repos that highlights the most recently updated one:
.thenresponse.json .thenrawData.items ?? ).map, ) const = connectObservable searchInput$.pipe switchMapSuspendedfindRepos, startWithnull, , const = connectObservable repos$.pipe mapArray.isArrayrepos && repos.length > 0 ? repos.reducecurrent.lastUpdate > winner.lastUpdate ? current : winner, : null, , , export default
Contributors ✨
Thanks goes to these wonderful people (emoji key):
Josep M Sobrepere 💻 🤔 🚧 ⚠️ 👀 |
Víctor Oliva 🤔 👀 💻 ⚠️ |
Ed 🎨 |
This project follows the all-contributors specification. Contributions of any kind welcome!