PatS
PatS

Reputation: 11474

Is Angular5 using rxjs at http://reactivex.io/rxjs or https://angular.io/guide/rx-library?

When searching for answers to Angular questions about RxJS (reactive programming), I sometimes end up on the http://reactivex.io/rxjs/ website, and sometimes in the Angular IO documentation (e.g., https://angular.io/guide/rx-library).

Are these the same? I think they are but wanted to ask and make sure.

Angular docs refer to the RxJS Docs http://reactivex.io/rxjs/ in the first paragraph describing what the RxJS library is.

Being new to Angular, and not having heard of the RxJS library before, I thought that Angular had it's own implementation of RxJS and that RxJS was just a specification, but upon examining the package.json file I can that RxJS under the @angular/ namespace (it is just npm install rxjs) and so it doesn't appear to me (anymore) that Angular is implementing it's own version of RxJs.

Some of my confusion was from the Angular docs describing RxJS (so I thought RxJS was part of Angular), but Angular docs also referred to the RxJS library. So which is it. That's why I wrote this question.

Please confirm that the RxJS package being described by Angular at https://angular.io/guide/rx-library is the same as the one at http://reactivex.io/rxjs/? And not a custom version/Angular of it.

If it matters, I'm using @angular/core version 5.2.9, and rxjs version 5.5.8.

Some other links I found when researching this

Upvotes: 0

Views: 152

Answers (1)

Robin Dijkhof
Robin Dijkhof

Reputation: 19288

To find out yourself create a new project

Install the desired CLI version.

npm install -g @angular/cli@latest

Next create a new project

ng new myProject --skip-install

Now check the package.json

Upvotes: 1

Related Questions