fun-with-rx-operators | RxJS Operators |
colors-rx | A practical example using Operators |
- We talked about the concept of operators in math, strings and arrays
- We understood that RxJS operators create observables.
- We saw 4 documentation web sites that serve as reference guide for reactive operators
- We covered some simple operators
- We created an example that uses observable to convert color search keyword into a list of matching results (colors)
- We used the
map
operator to convert user input to results
- We have converted our service into an asyncronous one by returning a
Promise
instead of the results - We saw that now our
map
operators returns anObservable<Promise<Results>>
- We learned about the term
Higher Order Observables
- We saw that there are several
flatenning
operators that reduce the order of the observable - We used
mergeAll
andswitchAll
after themap
- We understood that
switchMap
is short formap
and thenswitchAll