I am a bit confused. What is the difference between these libraries?
https://github.com/ReactiveX/rxjs
https://github.com/Reactive-Extensions/RxJS
What is the differance between rx, @reactivex/rxjs rxjs on npm.
If you search npm there are multiple libraries for rxjs which one is the official?
https://www.npmjs.com/search?q=rx
RxJS (Reactive Extensions for JavaScript) is a library for reactive programming using observables that makes it easier to compose asynchronous or callback-based code.
React belongs to "Javascript UI Libraries" category of the tech stack, while RxJS can be primarily classified under "Concurrency Frameworks". React and RxJS are both open source tools.
RxJS (Reactive Extensions for JavaScript) is the fundamental library for Functional Reactive Programming (FRP) for a large number of popular JavaScript frameworks including Angular, React and NestJS.
ReactiveX (also known as Reactive Extensions) is a software library originally created by Microsoft that allows imperative programming languages to operate on sequences of data regardless of whether the data is synchronous or asynchronous.
RxJS 4 is hosted on: https://github.com/Reactive-Extensions/RxJS
RxJS 5 (https://github.com/ReactiveX/rxjs) replaces RxJS 4 and is relatively compatible with RxJS 4. README.md on gtihub says:
Reactive Extensions Library for JavaScript. This is a rewrite of Reactive-Extensions/RxJS and is intended to supersede it once this is ready.
RxJS 5 is completely written in TypeScript and compiled to both as ES6 and ES5 (as a bundle in UMD format).
There's also RxJS 6 currently in development.
Also, RxJS 4 is now called rx
and npm while RxJS 5 is rxjs
now. The scoped one @reactivex/rxjs
is probably just an older npm package (they both come from the same repo).
https://github.com/ReactiveX/rxjs/blob/master/MIGRATION.md
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With