RxJS Crash Course

Поділитися
Вставка
  • Опубліковано 22 лип 2024
  • In this crash course, we will tackle the notorious RxJS which is an infamously hard topic to understand. Hopefully, this video helps you tackle this tool.
    Second Channel:
    / @laiture123
    GitHub:
    github.com/harblaith7/RXJS-Cr...
    Udemy Courses :
    www.udemy.com/course/modern-g...
    Timeline:
    0:00 - RxJS Terminology
    13:35 - Marble Diagram
    15:50 - Observables
    21:00 - Observer
    27:40 - Pipe & Operators
    43:40 - Handling Errors & Completions
    50:02 - Types of Operators

КОМЕНТАРІ • 130

  • @welcomespiritual
    @welcomespiritual 7 місяців тому +8

    Great, I can now add 5 years of RxJS experience in my CV, thanks!

  • @AdegbengaAgoroCrenet
    @AdegbengaAgoroCrenet 2 роки тому +83

    The best breakdown of RxJS I have ever encountered. After the video, I was able to seamlessly explain it to others. I was looked upon with awe, that's all you man

  • @Abelhawk
    @Abelhawk Рік тому +11

    This was insanely helpful. Here I am at work trying to wrap my head around this for hours and that burger metaphor... well, I'm still trying to wrap my head around it but that made a ton more progress than any of the other videos I've seen today. Thanks so much!

  • @bacon37460
    @bacon37460 2 роки тому +10

    Let me say, it's the best video I have ever seen explaining RxJS. Thanks man, you rock!

  • @BrianKoudijs
    @BrianKoudijs 2 роки тому +13

    Great work! This is the second video I've watched from you, and I must say that it's incredible. The pace, the way of explanation, the examples. Awesome. Now I understand the basics of RxJS!

    • @BrianKoudijs
      @BrianKoudijs 7 місяців тому

      @@avasdv thanks for replying on a comment one year later! Maybe it's your opinion but I really don't care... Maybe just comment directly on the video instead of commenting on my comment...

  • @hamzahahmad1670
    @hamzahahmad1670 2 роки тому +5

    Your channel is very underrated. Keep grinding man, your videos are awesome and you tackle some great topics

  • @yassineaker
    @yassineaker 2 роки тому

    Thanking you is far less than what you deserve. This is probably the best explanation for a subject I've ever watche.

  • @susheelyadav6143
    @susheelyadav6143 2 роки тому +4

    Best video I have ever seen bro. What a selection of example which makes a clear path to understanding the concept without any confusion in mind.

  • @sammiee3963
    @sammiee3963 2 роки тому +1

    This is the best on RxJs video I've ever come across. You rock Laith. 👍

  • @bingyuewang8770
    @bingyuewang8770 2 роки тому +7

    Really love the burger shop idea! Helped me understand rxjs in a flash! Thank you

  • @okeagi-tuedor5935
    @okeagi-tuedor5935 2 роки тому

    This is arguably the best rxjs course on UA-cam. Thanks.

  • @psykkou3820
    @psykkou3820 2 роки тому +2

    Had a bit of trouble understanding the concept of Rx, your explanation made it clear for me, thanks a bunch :)

  • @artemis_3245
    @artemis_3245 Рік тому +6

    That's an amazing course, sir! Rxjs very clearly explained. Kudos to you!

  • @sshisab
    @sshisab Рік тому +1

    This is the best video to understand RxJS in simplest term possible. Can't thank enough :)

  • @ritachoudhary8404
    @ritachoudhary8404 2 роки тому +2

    Great content. Best video I have watched on the Rxjs topic. You have made it simple to understand to anyone. Thanks for uploading this video. And I am glad that I find your channel. Kindly Post more videos on RXJS topics, mostly describing the different operators.

  • @pcr13931
    @pcr13931 Місяць тому

    This was Amazing, your example which gives an analogy of the operators is just spot on. Thanks for uploading this

  • @MuhammadSaqib07
    @MuhammadSaqib07 19 годин тому

    This video offers a clear and comprehensive understanding of RxJS. I will surely suggest to my fellows.. Thank you Laith Academy

  • @pantelisvasileiadis2858
    @pantelisvasileiadis2858 Рік тому

    Amazing tutorial bro. Really straightforward understandable explanations. Especially the intro helped me a lot with understanding how burge..eehm.. observables work. Thank you

  • @fitfuelplanner
    @fitfuelplanner 2 роки тому +1

    Thank you for your video. I'm a Jr Developer and RxJS has always confused me. New subscriber here and I look forward to watching your other videos.

  • @christophergeel1366
    @christophergeel1366 2 роки тому +2

    Great crash course. Super simple and easy to follow. Thank you!

  • @hamidabdolrahimi4606
    @hamidabdolrahimi4606 2 роки тому

    Best video I've watched about RxJS. Thanks bro, keep it up!

  • @alissontsdev2566
    @alissontsdev2566 2 роки тому +2

    Thank you so much. Best video about RxJS I found here on UA-cam

  • @fieryscorpion
    @fieryscorpion 6 місяців тому +1

    Great video. Thank you!
    And thank you again for including link to your GitHub example repo.

  • @davidedet1439
    @davidedet1439 Рік тому

    Loved it. Loved the burger shop explanation. Spot on. Thank you!!!!!

  • @syedabbas4122
    @syedabbas4122 4 місяці тому

    Amazing analogy, amazing explanation, you just saved me hours of time. I think I have an amazing understanding of what RxJS does.
    Thanks a lot.

  • @dawidkostka1346
    @dawidkostka1346 2 роки тому

    Everything explained from the scratch. THANKS bro

  • @sarkersunzidmahmud2875
    @sarkersunzidmahmud2875 2 роки тому +1

    Life becomes easier because of people like u. Great explanation. Cheers Mate

  • @Viva-07
    @Viva-07 5 місяців тому

    Very well explained..at last understood..love the burger example..it helped a lot in understanding the concept

  • @sergiim5601
    @sergiim5601 2 роки тому +4

    Very nice content! Keep making videos of this quality, and you gonna get to 100k subscribers in no time !

    • @laithacademy
      @laithacademy  2 роки тому +4

      Thank mate! Once I reach 100k, I have special things planned for the channel. Hopefully I reach it soon

  • @prithivgk
    @prithivgk 2 роки тому

    Thanks , I really like the story plot of RXJS functinality before getinto the coding part. you are awsome

  • @lessknownindeed
    @lessknownindeed Рік тому +1

    I really enjoyed it. Was waiting if you can explain some more operators too :D...awesome

  • @lukevin6486
    @lukevin6486 Рік тому

    Very well explained, clear and easy to follow. Thanks!

  • @coolmohan
    @coolmohan 2 роки тому +3

    58 minutes well spent. Thanks heaps.

  • @JBuchmann
    @JBuchmann Рік тому +1

    Nice intro. RxJs IMO is definitely a huge part of the learning curve for Angular.
    Something to note which can make the basics easier to grasp... if something is going to emit a single value only (like something returned from an API call) then Observables act nearly identical to regular Promises. Instead of ".then", you just do ".subscribe"
    There are some tricky operators like SwitchMap, MergeMap, ConcatMap, which are very common and powerful. Would be great for you to make a video on some of these more advanced operators.

  • @szymonfrankowski7435
    @szymonfrankowski7435 2 роки тому

    Great tutorial. Now I am able to use RxJS in the next project.

  • @AlbrechtJ
    @AlbrechtJ Рік тому

    This is the best explanation on RxJS video. Thanks.

  • @elmoutaouakkilmohammed1432
    @elmoutaouakkilmohammed1432 Рік тому

    I know it's a great tutorial before even I start watching it. Keep going my friend, to 100k subs!

  • @md.redwanhossain6288
    @md.redwanhossain6288 5 місяців тому

    One of the Best video for RXJS. P.S: pluck operator is now deprecated. just use map instead of pluck.

  • @martinvera5456
    @martinvera5456 2 роки тому

    Thanks! The hamburguer example helps a lot to understand all

  • @fyfyfyfyfy
    @fyfyfyfyfy Рік тому

    Amazing stuff ! Subscribed 🙌🏻

  • @Exile740
    @Exile740 Рік тому +1

    I've been trying to understand RxJS for a couple weeks by now. I watched many videos, read alot about it.
    I always had the "okay, but how?" and "okay, but why?" questions.
    Only after watching this video, I actually feel like I understand the hows and whys.
    Thank you for this very comprehensive lecture!

  • @rbsa1980
    @rbsa1980 2 роки тому

    great video, explained a lot in such a simple way

  • @HouseJunkieHUN
    @HouseJunkieHUN 2 роки тому +1

    Thank you! There isn't much explanation on the web on this topic

  • @yuvalpeery8995
    @yuvalpeery8995 2 роки тому

    I second Mr Agoro Very well explained. Thumbs up.

  • @dalilapramenkovic8597
    @dalilapramenkovic8597 5 місяців тому

    Brilliant explanation. Thank you!

  • @gagiksimonyan3782
    @gagiksimonyan3782 2 роки тому +2

    The video was awesome, man!!! Could you make more RxJS and Angular practice videos?

  • @Sarahhh123
    @Sarahhh123 Рік тому

    That was incredible, thank you!

  • @Mirzly
    @Mirzly 2 роки тому +2

    Awesome example!
    I'd also like to add to a pipeline that a chef can ignore any order that is the same as a previous one (distinctUntilChanged).
    It may only take certain number of orders (take/takeUntil) or pause existing until he is back from break (skip/skipWhile). or delay (delay/debounceTime) until some point.
    If there is another order for fries, the chef can combine it and the burger together (mergeMap) or send one after the other (concatMap) and do million other things as it's a really impressive library (RxJS).

    • @laithacademy
      @laithacademy  2 роки тому +1

      Thanks for these additional details :)

  • @adxxtya
    @adxxtya 2 роки тому

    This channel is criminally underrated. I feel so bad that you have such less views and subs. Also the video was so quality and the analogy was so good I feel bad that I am watching it for free. Can I buy you a coffee?

  • @KayKim-xk9vn
    @KayKim-xk9vn 9 місяців тому

    Thank you so much. It is easy to understand.

  • @gustavonaves6947
    @gustavonaves6947 Рік тому

    Thanks for sharing you knowledge. I really appreciate that. You are amazing

  • @Anunachi
    @Anunachi 2 роки тому

    Thanks bro, brilliant explanation, keep going!

  • @hossamabdelnasser5704
    @hossamabdelnasser5704 Рік тому

    Great job. Very well illustrated the concept. I wish you coded something more complex from real life

  • @notrelbanallo7607
    @notrelbanallo7607 Рік тому

    very helpful video. well explained.thank you

  • @MarkEdwardTan
    @MarkEdwardTan 2 роки тому +4

    Whenever I see Angular, NgRx or RxJs then I auto like :D

  • @alexanderschonfeld320
    @alexanderschonfeld320 Рік тому

    best explanation ever. Thank you for that 😀

  • @lola2lola321
    @lola2lola321 Рік тому

    Wow, so high quality!

  • @VworksArt
    @VworksArt Рік тому

    Thank you so much my friend.

  • @georgesngandeu9115
    @georgesngandeu9115 2 роки тому

    Bro, you are a genius, thank you so much.

  • @peternguyen9382
    @peternguyen9382 4 місяці тому

    thanks! you make my life easier!

  • @thejasiliemetha6350
    @thejasiliemetha6350 Рік тому

    Thank you for the lesson

  • @kmohan2541
    @kmohan2541 2 роки тому +1

    Waiting for this one

  • @lurami
    @lurami Рік тому

    you're a great teacher bro

  • @AngelicaMaria-cq3ph
    @AngelicaMaria-cq3ph 2 місяці тому

    Really good tutorial

  • @kirillzlobin7135
    @kirillzlobin7135 5 місяців тому

    Nice tutorial
    Let's have something on Schedulers and Subjects related to RxJS

  • @Arabian_Epileptic
    @Arabian_Epileptic 2 роки тому

    Keep up the good work bro

  • @jimplimmer8856
    @jimplimmer8856 9 місяців тому

    Great shit! u should do a video of a all the ⭐ operators

  • @soak2094
    @soak2094 2 роки тому

    helpful, thanks!

  • @idemax
    @idemax 11 місяців тому

    nice job bro!

  • @fieryscorpion
    @fieryscorpion 6 місяців тому +1

    Can you please share that Canva powerpoint style presentation document? That burger joint diagram was really helpful and I want to use that in my notes.
    Thanks!

  • @NeoCoding
    @NeoCoding 2 роки тому

    that's a geat job! thanks

  • @mk.1921
    @mk.1921 2 роки тому

    Many thanks for the video!! i understood it perfectly.
    if u allow me to say some video requests.
    - NX
    - Git
    thanks again. wish u the best! :)
    best regards from Austria

  • @vijayu707
    @vijayu707 2 роки тому

    Nice Video!!!

  • @humayunehtisham
    @humayunehtisham Рік тому

    You are really amazing... Thank you

  • @lindafromdream
    @lindafromdream 2 роки тому

    Thank you!

  • @ohskynyrdlynyrd
    @ohskynyrdlynyrd 11 місяців тому

    Amazing video

  • @user-hc1oe6fn8l
    @user-hc1oe6fn8l Рік тому

    thanks.Can you share the PPT?

  • @leagueofmusic9622
    @leagueofmusic9622 Місяць тому

    pluck is deprecated, now need to use map instead) Really good video though

  • @SharpenSkillswithSahnnu
    @SharpenSkillswithSahnnu 25 днів тому

    At 27:00 , I think the names should be other way around. Observer should get subscribed to the events.
    In the video what is called observer should be called as events, and what is referred as observable should be called as observer.
    In Nutshell, Observer is Observing the events that it has subscribed to.

  • @Luxcium
    @Luxcium 2 роки тому

    I was tired of looking for RxJs videos and decided to look at JavaScript stuff just for fun and I clicked on your video without realizing that it is about the topic I was just tired of looking for…

  • @marcosfsjunior
    @marcosfsjunior Рік тому

    The burger example was amazing, watch to the end!

  • @anoopsidhu3859
    @anoopsidhu3859 2 роки тому

    Jesus christ thank god I landed on this video, now I can finally stop pretending to understand angular and actually do so

  • @LucasHagemans
    @LucasHagemans Рік тому

    18:44 import observable
    19:12 instanciate class
    19:29 call back, arrow function

  • @Lionellord
    @Lionellord 2 роки тому

    Thanks

  • @dayumnson9769
    @dayumnson9769 2 роки тому +1

    I did not yet watch the video.
    Do you suggest using rxjs in react or vue?
    I think it would be interesting to see rxjs applied to these.
    sorry if this video does already cover that.

    • @frederikstergaard4510
      @frederikstergaard4510 2 роки тому

      At my job we use rxjs for our global state management, so it's very much possible and works great. It does however come with quite some initial investment of setting up a "framework" that you otherwise would get for free with for example Redux

  • @yoooo51
    @yoooo51 5 днів тому

    at 14.31 you name the cooks observers but before you called them operators. Is it an mistake ? or did i get something wrong? Observers don't manipulte the data but the cooks sometimes do (like coocking the meat in the second last step=

  • @Luxcium
    @Luxcium 2 роки тому

    42:40 Made me realize that each time people look confused that array are indexed starting with 0 that it is just exactly the same with how age works… our first year on earth is starting at index Ø

  • @VarunJain15
    @VarunJain15 2 роки тому

    What if we use operators in Observer before subscribe ? Are these same or any difference,
    By the way, Awesome Video, thank you for this video ☺️😊😊

  • @officialdanieldsouza
    @officialdanieldsouza Місяць тому

    At 55:18 the pluck operator is deprecated as of version 8. It's recommended to use the map operator instead going forward for this operation. Also I don't really understand the point of using rxjs, can't we just use normal javascript to achieve the same thing? I come from a React, Next.js background and currently learning Nest.js which utilizes the Angular architecture and design patterns hence why I am trying to learn rxjs. If anyone could help me understand the reason for using rxjs please let me know. Cause the way I see it we can use normal async/await, javascript methods to achieve all of what's being discused in this video. Please correct me if I am wrong.
    Amazing video btw!
    Thanks

  • @abubakar-emumba
    @abubakar-emumba 2 роки тому +3

    please make a crash course on react-chart-js and react-grid-layout

    • @windwardhive7363
      @windwardhive7363 2 роки тому +3

      no. why can't you simply follow the docs? You don't need a tutorial for every library out there. What are you? 12? Use your common sense. Salamu Alaikum

    • @abubakar-emumba
      @abubakar-emumba 2 роки тому +1

      @@windwardhive7363 i am not 12, but i am a junior dev, and for me docs are dry, so i learn from video tutorials.

    • @mk.1921
      @mk.1921 2 роки тому +1

      @@windwardhive7363 pls dont be so cruel some people learn it better with videos instead wih reading docs.
      have a nice day

    • @aryanshmahato
      @aryanshmahato 2 роки тому

      @@windwardhive7363 what the hell is this behaviour?? We don't need people like you in developer community.. There's a way of talking, probably your mommy didn't teach you that... How does it sound, eh?

  • @Raphael-et6ig
    @Raphael-et6ig 11 місяців тому

    Bruh that was the king of all bad jokes ^^

  • @abdulsalamaboubakar4059
    @abdulsalamaboubakar4059 2 роки тому

    for the algorithem
    P.S. thanks for the content

  • @hiteshsuthar1097
    @hiteshsuthar1097 Рік тому +1

    Simplicity 🤍

  • @ankitmeshram8461
    @ankitmeshram8461 2 роки тому

    I'm so hungry now 😂😂

  • @Studio-df7ge
    @Studio-df7ge 2 роки тому

    too sad u didnt implement the first example, would have been nice

  • @aaronmcmillan6379
    @aaronmcmillan6379 2 роки тому

    that honestly hgas to be the longest metaphor for something that really isnt that massive of a concept lol

  • @calebmbugua745
    @calebmbugua745 2 роки тому

    wow

  • @kmohan2541
    @kmohan2541 2 роки тому

    Try to do vuejs

  • @akosbalint3485
    @akosbalint3485 7 місяців тому

    pluck will be removed in v8

  • @yunus5949
    @yunus5949 Рік тому

    I feel stupid when watching first 1 min. XD