Damn, hands down best explanation I have seen so far. Thank you for your great work!
@IndianKhanSameer3 жыл бұрын
Agreed!!
@alinapostol2230 Жыл бұрын
Best explanation of mergeMap, concatMap, exhaustMap and switchMap, with super easy-to-understand drawings slides. Thank you for the effort you put into making this video!
@none0n2 жыл бұрын
This is the best on this subject on the internet
@meysam83572 жыл бұрын
thank you for this tutorial this is the best tutorial i found to explain the flatten operators
@rafiquemohammed30292 жыл бұрын
After all these years... today i understood the map operators.. You man! You deserve a subscribe
@TheRuiMonte3 жыл бұрын
Man, I've been looking into this map operators for days and only with you I've understood the theory. Thank you, really, thank you!
@jsblade27702 жыл бұрын
these maps are so intimidating to get into, thank u for the explanation
@liedebunker12532 жыл бұрын
I've watched a few, but only this one makes it clear! Thank you very much!👍
@Cysecsg3 жыл бұрын
This explanation is much clearer than the big channels out there. We need visuals to understand things better!
@CodeWithGio3 жыл бұрын
Absolutely, creating visuals takes a lot more time, but I find it impossible to properly explain different maps, without extra visuals. Especially when thinking about time and space, in which events happen asynchronously
@jameswachira5713 Жыл бұрын
Excellent explanation. Good work sir
@hgatl3 жыл бұрын
even it is longer than other shorts , he explains very well and Literally diagrams are far better than Rxjs Marbles . thanks for it
@vanlongpham88743 жыл бұрын
Best RxJS Map operators on KZbin.
@mikhailratner46492 жыл бұрын
This video brought me to your channel and made me binge watch your RxJS Playlist! So far, the whole playlist is handdown the best explanations of RxJS I've seen so far!!
@oletrn2 жыл бұрын
Thanks for the great explanation. It's probably the best one I've seen so far (and I've seen many)! It's funny how after years of working with rxjs I still need a refresher regarding the mapping operators.
@ianfoster2322 жыл бұрын
Amazing explanation! I have been rescued from the fog of numerous other videos and now have complete clarity. Thank you so much!
@Fancules2 жыл бұрын
Perfect explanation, thanks a lot👍
@mikheilmusaelyan Жыл бұрын
ერთი 100 ვიდეოს ვუყურე და შენგან გავიგე, მადლობაა❤❤
@OskrPulido2 жыл бұрын
thank you so much man!! Best explanation ever.
@balunandam80066 ай бұрын
you're awesome, best explanation. Thank you.
@udayprakash802 жыл бұрын
super ... was looking for something like this .. keep rocking 😀
@martytaylor23222 жыл бұрын
Awesome explanations! Thanks.
@wmjoers3 жыл бұрын
Best map operators tutorial ever! Thanks! :-)
@viiskb3 жыл бұрын
Your slides are awesome. Thank you. Very nice explanation.
@puyabahrani22502 жыл бұрын
Thank you, very good explanation
@ayushbhatnagar3889 Жыл бұрын
brilliant explanation. Thanks a lot
@khoapham95293 жыл бұрын
This is the easiest explanation to me so far :D. Big thanks!
@256Ulises3 жыл бұрын
Muy buen video, la mejor explicación que he visto
@dariooliveira50042 жыл бұрын
Very helpful, thanks!
@JBuchmann2 жыл бұрын
I have never used exhaustMap in practice, but I have always stuggled to to understand it. (probably why I have never used it). Thank you, your explanation finally made me understand it. I can only think of one real world use case for exhaustMap. Maybe a submit button that get hammered with clicks. When the first click is getting processed by the API, all other clicks (in the observable stream) will get tossed out. But I guess we could also prevent multiple clicks by disabling the button on submit, lol.
@CodeWithGio2 жыл бұрын
You're right disabling the button is the easiest, I've personally rarely used exhaustMap, most of the time it's switchMap with http requests
@sandeepdravidam79893 жыл бұрын
After a long..... time, great to see you back!,try to do a video on declarative approach using Rxjs for a scenario
@CodeWithGio3 жыл бұрын
I upload videos in every 2 weeks, that's what my schedule allows me at the moment. After I finish RxJS series, I plan to create some app angular+rxjs+nestjs+mongodb and cover various topics
@sandeepdravidam79893 жыл бұрын
@@CodeWithGio try to do the Rxjs videos based on scenarios rather than just explaining operators, functions,just like the city/pincode selection based on state, country etc ,scenario u took in one of your video ,these scenarios can achieved easily without the reactive approach,but when it comes to reactive dealing with Observables is bit tricky, testing is even tidous
@GustavoGAvila2 жыл бұрын
Very good! Thank you!
@ankitchandra63303 жыл бұрын
best explanation ever !
@danybohd3 жыл бұрын
great video, thank you
@Constantine..3 жыл бұрын
Thanks for the detailed and clear explanation)
@yosefrahahleh67963 жыл бұрын
Keep going, you're awesome.
@balaeinstein87103 жыл бұрын
great sir . i dont think there are many good tutorials for rxjs in youtube . This one is going to be one of the very good rxjs tutorials . Please cover almost all the common and most used operators
@CodeWithGio3 жыл бұрын
Absolutely, in the next video I'll make some practice challenge, using what we've covered so far
@balaeinstein87103 жыл бұрын
@@CodeWithGio thanks a lot sir .Hope this channel will grow very soon
@lasham52483 жыл бұрын
კაია!
@SmL199020093 жыл бұрын
Is there a map that is kind of a mix of switch and exhaust? Where if values arrive while the inner observable is processing, it will finish the current process and then continue with only the latest value received, ignoring the rest?
@CodeWithGio3 жыл бұрын
If I understand question correctly you only want first two values processed? Then it's a combination of concatMap + take(2)
@SmL199020093 жыл бұрын
@@CodeWithGio not the first two, the first and last. Basically, say values 1 comes in and while it's processing, value 2, 3, and 4 come in (in that order). Once 1 is finished processing, I would want it to only process 4 (since it was the newest value) and ignore 2 and 3
@CodeWithGio3 жыл бұрын
I think you need to create a custom map operator for that
@samluo472 жыл бұрын
Hello Gio, great video! Off topic, I am actually confused about the sequence of multiple pipes, for example, if I have merge map for my first pipe, then following with take(1), does that mean I only take the inner observable once? and it's literally different than putting take(1) for my first pipe?
@CodeWithGio2 жыл бұрын
Hi Sam, not sure I understand, can you share some code?
@samluo472 жыл бұрын
I can see the difference moving take(1) down.. putting it before mergeMap will not complete the outer observable unless the inner is complete(why?) , but putting it below mergeMap will complete the outer observable right away when inner subject emit a value.
@CodeWithGio2 жыл бұрын
I see, well think of it this way, mergeMap doesn't know when to complete by itself, it's a mapping function after all. So it looks for inner obs to complete (or not, depends on how inner is implemented). On the other hand take knows when to complete. In your example, whatever is down the line drives the completion of outer observable
@samluo472 жыл бұрын
@@CodeWithGio yes that makes sense! I tried posting my forked rxjs playground link here.. but it just disappear :((. thanks for you time anyway , keep up the good work, your video is 💯
@vazhaabdu45293 жыл бұрын
ძალიან კარგია
@getdevotional3 жыл бұрын
Awesome! I love the explination. Would you please provide the source code of this video? It would be really helpful for me to practice.
@CodeWithGio3 жыл бұрын
I'll try to create proper github page and put source files there
@getdevotional3 жыл бұрын
@@CodeWithGio That would be very useful, thank you so much!
@javierolazaran72273 жыл бұрын
Take the sub good man
@rafiquemohammed30292 жыл бұрын
The only thing missing in this video is what happens if any one of the request get failed or never emitted anything. for instance Http failure.
@CodeWithGio2 жыл бұрын
I've covered that in other videos, once error happens entire execution is halted and subscribers receive notification via error handler