close
I want to use combineLatest function to combine data from firestore. The data from firestore is observable which is exactly combineLastest required.
What RxJS website stated about combineLatest is
Combines multiple Observables to create an Observable whose values are calculated from the latest values of each of its input Observables.
However, when I used combineLatest to combine two observable data, I got a hint.
The declaration was marked as deprecated here.
Finally, I solved this problem by updating RxJS library.
Use the statement on cmd
npm install rxjs
And my program works now.
文章標籤
全站熱搜