Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the difference between Reactive-Extensions/RxJS and ReactiveX/rxjs

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

like image 801
Arin Avatar asked Nov 08 '16 14:11

Arin


People also ask

What is the purpose of Reactive Extensions RxJS?

RxJS (Reactive Extensions for JavaScript) is a library for reactive programming using observables that makes it easier to compose asynchronous or callback-based code.

Is RxJS and react the same?

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.

Is RxJS for angular or react?

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.

What is ReactiveX io?

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.


1 Answers

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

like image 160
martin Avatar answered Oct 04 '22 15:10

martin