Since i started working with Angular, i have always referred to your Pluralsight courses for guidance. Your scenarios and code examples are very clean and you explain things exceptionally well. I will be definitely be adding your videos to the Jr developers i work with.
Love your material, Deborah, and I frequently recommend your Pluralsight courses to my team. I asked ChatGPT for a good analogy for the higher-order operators, and I liked the response: > concatMap is like a waiter who serves your dishes one by one in the order they are received, never jumping ahead to serve another dish before the current one is finished. > mergeMap is like a server who brings out all your dishes at once, regardless of what order they were received in. > switchMap is like a head chef who oversees multiple tables and ensures that the kitchen only prepares and serves the dishes for the table that is currently being attended to, discarding any previous dishes that were being prepared for other tables.
Thank you so much for the kind words! Great ChatGPT answer! It's amazing that it can do something as complex as a metaphor. And it's correct. And consistent. Very cool! I was using it for some Git commands last night and it was really good at remembering my repo and branch names in between different questions. Fun stuff!
Спасибо Вам большое! Я посмотрел большое количество видео про различия, но не понимал саму суть на реальных ситуациях. Ваши примеры очень помогли понять. Спасибо! ------ Thank you very much! I watched a lot of videos about the differences, but did not understand the essence in real situations. Your examples helped me a lot to understand. Thank you!
Your videos are why I bought the Pluralsight subscription. The level of your content is unmatched, thank you so much! 😊 Not to mention you are the reason why I finally can use RxJS 😅
Your explanation sis very clear and precise to the point. After watching your video, a lot of confusion has been cleared on my mind based on your explanation. Thank you and God bless you.
As someone here has commented out, I started learning Angular watching your videos. I like the way you explain each concepts clearly with examples. I wish to see lot of advanced latest topics. Thanks once again.
For switchMaps it's important to note that if you're thinking of http requests, the requests are already done and they are not literally cancelled but the observable just ignores the response of those "cancelled" ones and does not emit the values.
Thanks for this, it answered a problem was having where I was performing multiple http get requests but only seeing a single response, i.e using switchMap when I should have used concatmap or mergemap!
@@deborah_kurata I''m currently learning more about interceptors and authentication process. Since I'm an intern, any topic from an expert is of great help, I like to understand how stuff really works
Hey Deborah! Thanks for the video. I'm still learning reactive development and had a question. In my previous approach, what I would have done, is to add [(ngModel)] or form control to the dropdown, then add "onChange" event on the dropdown, and pass the "userId" from there to a function in component. Then, used that to call http get and retrieve the "Todo" list. I know this is not reactive, but is that still a bad approach? Wanted to know what you think? Thanks!
Thank you for watching! There is nothing wrong with your current approach. It just doesn't get the benefits that a reactive approach has (which may or may not be applicable to your scenario). With a reactive approach, it's easier to combine streams because you have the stream in a variable you can reference, for example. But many of these approaches will be changing further as more as more signal features are implemented. It will be interesting to see how signals affect our common scenarios.
Glad to hear you liked the video. Yeah, I've considered adding exhaustMap, but wasn't sure it was a common use case. Could you share the scenarios where you find it most useful?
Best explanations I've seen so far about xxxMap! So in short, switchMap cancels the inner observable if the outer emits before the inner completes, right? But what does that mean to "cancel" an observable exactly? I know that it will cancel the http call, is that what canlelling means or it would apply for any type of inner obs (not http calls requests only)? Thanks Deborah !
Thank you! Yes, you are correct. I assume what it means for other types of Observable depends on the Observable? For example, for a synchronous Observable, a$ = of(1, 2, 3), the values are emitted synchronously so there isn't an opportunity to cancel them.
So kind of you to say that the info is amazing. Thank you! I tried Udemy about 2 months ago. I was not able to get approved as an instructor on Udemy. I couldn't get past their automated "author verification" system. I have no idea how to get in touch with a person ... so I have been posting here instead. I'm open to any other suggestions ... :-)
You are the best thanks a lot for the content deborah hope there is more to come if I can give some Feedback: You could try to present more compact and make your videos slightly shorter ❤️
Thank you for the kind words and the feedback. Most of my recently posted videos have been a bit shorter. (See this: ruclips.net/p/PLErOmyzRKOCqaSzFo5A3Og1ZiFo0ZR0gB) In this one, I wanted to cover each of the three operators in one video to compare them, so it got a bit longer. Do you think doing 3 shorter videos ... one for each operator ... would have been better? Any specific suggestions for how I could have made it more compact? Thanks again!
I have a GitHub repo here: github.com/DeborahK/Angular-Posts But it doesn't demonstrate the difference between switchMap, mergeMap and concatMap. But it does show the switchMap in action. Hope that helps.
this.userSelectedAction$ is the Observable part of a Subject. For more context, consider watching this video: ruclips.net/video/bqIj-m7Uxzk/видео.html It is longer, but covers a more complete look at using a Subject to respond to a user action. Let me know if that helps. Feel free to post additional questions.
I can't say enough how incredible your teaching is.
Wow! Thank you so much!
Since i started working with Angular, i have always referred to your Pluralsight courses for guidance. Your scenarios and code examples are very clean and you explain things exceptionally well. I will be definitely be adding your videos to the Jr developers i work with.
Great to hear! Thank you so much!
NO ONE can take complex concepts and make them as understandable as Deborah can. No one.
Thank you so much for the kind words. You made me smile this morning!
Thank you. Best explanation so far i have found on the internet.
Wow! That's wonderful to hear. Thank you! 😊
Love your material, Deborah, and I frequently recommend your Pluralsight courses to my team. I asked ChatGPT for a good analogy for the higher-order operators, and I liked the response:
> concatMap is like a waiter who serves your dishes one by one in the order they are received, never jumping ahead to serve another dish before the current one is finished.
> mergeMap is like a server who brings out all your dishes at once, regardless of what order they were received in.
> switchMap is like a head chef who oversees multiple tables and ensures that the kitchen only prepares and serves the dishes for the table that is currently being attended to, discarding any previous dishes that were being prepared for other tables.
Thank you so much for the kind words!
Great ChatGPT answer! It's amazing that it can do something as complex as a metaphor. And it's correct. And consistent. Very cool!
I was using it for some Git commands last night and it was really good at remembering my repo and branch names in between different questions. Fun stuff!
Спасибо Вам большое!
Я посмотрел большое количество видео про различия, но не понимал саму суть на реальных ситуациях. Ваши примеры очень помогли понять. Спасибо!
------
Thank you very much!
I watched a lot of videos about the differences, but did not understand the essence in real situations. Your examples helped me a lot to understand. Thank you!
So glad the video was helpful! 😊
Your videos are why I bought the Pluralsight subscription. The level of your content is unmatched, thank you so much! 😊 Not to mention you are the reason why I finally can use RxJS 😅
Wow, thank you! 😊
oh my. this cleared my confusion on these map stuff for so long!
So great to hear that this was helpful. Thank you!
Your explanation sis very clear and precise to the point. After watching your video, a lot of confusion has been cleared on my mind based on your explanation. Thank you and God bless you.
Glad it was helpful! Thank you for watching!
This is the best explanation I have ever watched, irrespective of the topic or programming language.
Wow! That is so great to hear. Thank you! 🙏🏼
As someone here has commented out, I started learning Angular watching your videos. I like the way you explain each concepts clearly with examples. I wish to see lot of advanced latest topics. Thanks once again.
Thank you so much! I appreciate it!
Have you seen the videos on standalone components and the new signals features?
For switchMaps it's important to note that if you're thinking of http requests, the requests are already done and they are not literally cancelled but the observable just ignores the response of those "cancelled" ones and does not emit the values.
simplicity is the best way to teach .. thanks!👍
Thank you for watching!
So far the best explanation on this topic for me!😀
Awesome, thank you! Glad it was helpful!
concatMap = Relay race (brilliant example). For people with English as a second language, the analogy is perfect.
So great to hear the analogy works! Thank you!
Thank you for the video! It's so short and clear
Great to hear. Thank you!
Thank you for the brilliant explication of this different maps. English is not my native language, but understood all clearly.
Great to hear that the video was clear and helpful!
Thanks Deborah for share your knowledge It helfull me. 💪
Glad it was helpful! Thank you for watching!
Mam, you are a legend. This explanation is so good, I can now recall this in mid sleep !
😊 Glad it was helpful! All the best!
Best explanation ever! I'm glad I found you on RUclips! :)
Thank you so much!
well explained, smooth and easy examples 👏👏
Keep it up @deborah 🙌
Thank you! 😃
Thanks for this, it answered a problem was having where I was performing multiple http get requests but only seeing a single response, i.e using switchMap when I should have used concatmap or mergemap!
So glad to hear it was helpfu!😊
This was fantastic. I tend to use switchMap for requests but haven’t needed the others yet. Good to know how they work.
Thank you! Glad it was helpful!
you're doing the gods work, thanks!
☺ Great to hear that its useful!
Beautiful and clean explaination, thank you!
Thank you!
Best teacher, please do more videos on Angular
Thank you for the kinds words!
And will do! Any particular topics?
@@deborah_kurata I''m currently learning more about interceptors and authentication process. Since I'm an intern, any topic from an expert is of great help, I like to understand how stuff really works
Hey Deborah! Thanks for the video. I'm still learning reactive development and had a question. In my previous approach, what I would have done, is to add [(ngModel)] or form control to the dropdown, then add "onChange" event on the dropdown, and pass the "userId" from there to a function in component. Then, used that to call http get and retrieve the "Todo" list. I know this is not reactive, but is that still a bad approach? Wanted to know what you think? Thanks!
Thank you for watching!
There is nothing wrong with your current approach. It just doesn't get the benefits that a reactive approach has (which may or may not be applicable to your scenario). With a reactive approach, it's easier to combine streams because you have the stream in a variable you can reference, for example.
But many of these approaches will be changing further as more as more signal features are implemented. It will be interesting to see how signals affect our common scenarios.
nice Video! this could have include exhaustMap as the last example when we need just first emitted value and ignore all subsequent requests.
Glad to hear you liked the video. Yeah, I've considered adding exhaustMap, but wasn't sure it was a common use case.
Could you share the scenarios where you find it most useful?
Thank you for explanation , can you make a videos of creating a real world project from scratch using reactive programming Thank you again
Thanks for the idea!
Thank you so much, I really appreciate it :)
Thanks! 😊
Great explanation!🙌
Glad you liked it! Thanks!
Best explanations I've seen so far about xxxMap!
So in short, switchMap cancels the inner observable if the outer emits before the inner completes, right? But what does that mean to "cancel" an observable exactly? I know that it will cancel the http call, is that what canlelling means or it would apply for any type of inner obs (not http calls requests only)?
Thanks Deborah !
Thank you!
Yes, you are correct. I assume what it means for other types of Observable depends on the Observable?
For example, for a synchronous Observable, a$ = of(1, 2, 3), the values are emitted synchronously so there isn't an opportunity to cancel them.
Perfect 🤩
Thanks!
its easier when you call it "calls" instead of "map"
- concatinate calls -> concatMap
- merge calls - mergeMap
- switch calls - switchMap
thank you
Thanks for watching!
Have you considered uploading your amazing knowledge to Udemy vs plural?
So kind of you to say that the info is amazing. Thank you!
I tried Udemy about 2 months ago. I was not able to get approved as an instructor on Udemy. I couldn't get past their automated "author verification" system. I have no idea how to get in touch with a person ... so I have been posting here instead.
I'm open to any other suggestions ... :-)
Best video ever!!
Wow! What a wonderful complement! Thank you!
You are the best
thanks a lot for the content deborah
hope there is more to come
if I can give some Feedback: You could try to present more compact and make your videos slightly shorter ❤️
Thank you for the kind words and the feedback.
Most of my recently posted videos have been a bit shorter. (See this: ruclips.net/p/PLErOmyzRKOCqaSzFo5A3Og1ZiFo0ZR0gB)
In this one, I wanted to cover each of the three operators in one video to compare them, so it got a bit longer. Do you think doing 3 shorter videos ... one for each operator ... would have been better?
Any specific suggestions for how I could have made it more compact?
Thanks again!
you sound like glados, i love glados
I shed tears every time I hear that.
can you share github link
I have a GitHub repo here: github.com/DeborahK/Angular-Posts
But it doesn't demonstrate the difference between switchMap, mergeMap and concatMap. But it does show the switchMap in action.
Hope that helps.
how are you so awesome
Thank you so very much!
What is userSelectedAction$? I don’t understand it 🫤
this.userSelectedAction$ is the Observable part of a Subject.
For more context, consider watching this video: ruclips.net/video/bqIj-m7Uxzk/видео.html
It is longer, but covers a more complete look at using a Subject to respond to a user action.
Let me know if that helps. Feel free to post additional questions.