Alain Chautard
1 min readJun 27, 2019

--

We combine two observables with combineLatest (one is the data, the other is the filters) so the result of this combination is an array with both states and filterString — that’s where filterString comes from:

combineLatest(this.states$, this.filter$).pipe(
map(([states, filterString]) => // FILTER HERE)
);

--

--

Alain Chautard
Alain Chautard

Written by Alain Chautard

Google Developer Expert in Angular, Consultant and Trainer at http://www.angulartraining.com

No responses yet