I read the difference from the article but the main points look like this.
so with tap
I can change the variables such as that if I put x=3+4
then it changes the values of variable then I can say there is one side effect.
But with map
I can change the value looping each value, isn't it?
Can you pinpoint what outstanding differences they have?
tap
RxJS tap performs side effects for every value emitted by source Observable and returns an Observable identical to the source Observable until there is no error.
map
map is a RxJS pipeable operator. map applies a given function to each element emitted by the source Observable and emits the resulting values as an Observable