Question from the Introduction to RxJS test

Archived

[In this context all api requests return an Observable]

I want to chain 2 observables like this

data$.subscribe((data)=>{
fetchOtherData(data).subscribe((otherData)=>{
....
    })
})

Is this a good way to do or can we use an operator to chain these 2 observables?

Author: Amine BouchamStatus: Archived(New question!)Question passed 47 times
0
Community EvaluationsNo one has reviewed this question yet, be the first!