Archive for the 'RxJS' Category

March 3rd, 2020
2:13 pm
combineLatest changes when upgrading to rxjs 6

Posted under Angular & RxJS & Web

Note that you must now call this as a function rather than a method of another observable, see here.

Also note that as before you can use a projection function to map the results, as an alternative to using .pipe(map…)). If you are using the projection function, you should not use the spread syntax with the projection as the last argument as this is deprecated. Rather pass the observables as an array, followed by the projection function. More details on the project are here, and in the code examples here.

 

Comments Off on combineLatest changes when upgrading to rxjs 6