Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

300
Visualizações
Difference between reactivex.io/rxjs/class/es6/Observable and rxjs.dev/api/index/class/Observable

I am just starting to learn RxJS when I came across two different definitions of Observable:

  1. https://reactivex.io/rxjs/class/es6/Observable.js~Observable.html
  2. https://rxjs.dev/api/index/class/Observable

Which one is legitimate?

about 4 years ago · Juan Pablo Isaza
2 Respostas
Responde à pergunta

0

I guess that the first one seems to be an old implementation of the RxJs Observable.

In that page itself, if you click on the RxJs nav "HOME", it says "Rediring to newer docs" and navigates to the second one version.

about 4 years ago · Juan Pablo Isaza Relatório

0

It’s good that you are digging through the source code. Take a look at the npm package “rxjs-compat” this contains additional information about migrating from the previous version of rxjs to the latest version. To be more direct the actual implementation of rxjs observable is different compared to previous versions rather the approach that you would take to require vs import Observable then used to instantiate observables has slightly changed. Fundamentally observables in previous versions and the new version are the same but looking at old code may be confusing in the context of the latest version. Focus on the latest version and take a look at articles or presentations by Ben Lesh if you want to learn RxJS intricacies.

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda