Tips — map

RxJS: Map explained

Publicado por Tomasz Smykowski en

RxJS stands for Reactive Extensions for JavaScript. It is a great library to handle flow of items received by your application. Today you will learn what is one of the most commonly used RxJS operator: map. The documentation offers a nice diagram with circles that is self-explanatory: But what does it really mean? Let's forget about the diagram for a moment. The analogy Imagine you are a blacksmith. The king ordered you to sharpen the edges of all swords of his army. Swords are gathered next to your tent, and you start to sharpen each sword, one by one. It...

Leer más →