paint-brush
Understanding RxJS map, mergeMap, switchMap and concatMapby@luukgruijs
3,536 reads
3,536 reads

Understanding RxJS map, mergeMap, switchMap and concatMap

by Luuk Gruijs4mJanuary 9th, 2019
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Mapping data is a common operation while writing your program. When you use RxJS in your code to produce your data streams it’s very likely you eventually need a way to map the data to whatever format you need it to be. RxJS comes with a ‘normal’ map function, but also has functions like mergeMap, switchMap and concatMap which all behave slightly different.

Company Mentioned

Mention Thumbnail
featured image - Understanding RxJS map, mergeMap, switchMap and concatMap
Luuk Gruijs HackerNoon profile picture
Luuk Gruijs

Luuk Gruijs

@luukgruijs

L O A D I N G
. . . comments & more!

About Author

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Bitcoininsider