Top 7 RxJS Concepts for Angular Developers

Поделиться
HTML-код
  • Опубликовано: 4 фев 2025

Комментарии • 96

  • @powderriverfarrier
    @powderriverfarrier 7 лет назад +123

    The concise to the point no bullshit approach is really helpful.

    • @Fireship
      @Fireship  7 лет назад +3

      Thank you!

    • @simmorsal
      @simmorsal 3 месяца назад +1

      Still helpful 7 years later

  • @RefactoringRyan
    @RefactoringRyan 4 года назад +3

    You have the most helpful angular content around.

  • @pandarzzz
    @pandarzzz 4 года назад +21

    Timeline of Events🕗
    0:40 1. Important RxJS Methods - static vs. instance
    1:35 2. Subscriptions - extract data from observables
    2:42 3. Unsubscribe - prevent memory leaks
    3:05 4. Map Observables - transform data in the stream
    4:00 5. SwitchMap - handle data relationships
    4:45 6. Combine Observables - two observables -> one
    5:25 7. BehaviorSubject - share current data

  • @ajinkyax
    @ajinkyax 7 лет назад +15

    Thanks again for a neat video.
    I always struggle explaining CombineLatest and flatMap in my videos but you explained well in less time.
    I would love to see more RxJs video from you Jeff, since I really appreciate your deep thoughts and I'm fan of RxJs

    • @Fireship
      @Fireship  7 лет назад +2

      Glad you liked it! I definitely plan on doing more on RxJS, as this video is really just scratching the surface.

  • @sechabamotaung8552
    @sechabamotaung8552 2 года назад

    Please keep making more videos like these. It's so straigt to the point, love it.

  • @iamshoaibkhalil
    @iamshoaibkhalil 3 года назад

    Congratulations for 1 million subscribers Jeff
    We love you

  • @christianwheeler8441
    @christianwheeler8441 7 лет назад +1

    Just found this channel. What a godsend!

  • @boathecat919
    @boathecat919 5 лет назад

    thank you so much. I had to stop and take notes here and there but I fully understand all 7 Rxjs concepts now.

  • @beka123ful
    @beka123ful 7 лет назад +9

    Thank you for all your vids. They help me a lot while messing with angular and firebase :)

    • @Fireship
      @Fireship  7 лет назад

      Awesome, glad to hear that

  • @carlosabud
    @carlosabud 3 года назад +1

    concept wise , this is still valid in 2021.

  • @PrashantKumardaniel
    @PrashantKumardaniel 6 лет назад +1

    Okay, so the motive is modern world coding through basic common sense. Explained simply. thumbs up!

  • @rishabhmalhotra1542
    @rishabhmalhotra1542 4 года назад

    You are the best channel and your website is helpful and helped me multiple times. Keep up good work

  • @andrewg2998
    @andrewg2998 4 года назад +1

    finally someone explained rxjs to me how I could understand it

  • @antingchang3258
    @antingchang3258 3 года назад

    Oh i love the background music with that great content

  • @89serge
    @89serge 7 лет назад +2

    Great and concise explanation.

  • @polypus74
    @polypus74 6 лет назад

    Great presentation, great design, great audio, direct and to the point videos == subscribed!

  • @billbortkevich2300
    @billbortkevich2300 5 лет назад +1

    Great concept explanation. I had to listed some portions several times though, to comprehend,

  • @greatmouhcine
    @greatmouhcine 4 года назад

    Thanks to you, I don't fear RxJs anymore

  • @otheraw5659
    @otheraw5659 6 лет назад

    Thanks a lot, This kind of video really hard to find in youtube. Please do more about pattern / technique like this

  • @zbesh
    @zbesh 5 лет назад

    Man, you are a sorcerer. thanks for an amazing video.

  • @rajhawaldar
    @rajhawaldar 6 лет назад

    Thanks for the excellent Explanation. You explained these concepts in simplest way. Thanks once again..:)

  • @rahulkamboj4603
    @rahulkamboj4603 6 лет назад

    Really nicely explained

  • @clutchshots6480
    @clutchshots6480 4 года назад

    Life changer...🔥🔥🔥

  • @vladimirsvicevic4506
    @vladimirsvicevic4506 5 лет назад

    Awesome explanation and real examples. Thank you for such a great video!

  • @Manuelarte
    @Manuelarte 6 лет назад

    Excellent video

  • @swaminathbera6407
    @swaminathbera6407 3 года назад

    Thanks Fireship ❤️

  • @ErayTonyali
    @ErayTonyali 6 лет назад

    Thank you for the great lessons!

  • @harrisonmayotte7226
    @harrisonmayotte7226 4 года назад +1

    Can we get a revamp for new versions & cloud firestore?

  • @Zarevock666
    @Zarevock666 6 лет назад

    Thank you! Great video!

  • @ClaudivanBarreto
    @ClaudivanBarreto 7 лет назад +1

    Great lesson!

  • @Justaszz
    @Justaszz 3 года назад

    What plugin do you use to paste code from the clipboard?

  • @KyleHarrisonRedacted
    @KyleHarrisonRedacted 4 года назад +6

    My biggest takeaway from this: "....... THERE'S AN ASYNC PIPE??........ THERE'S AN ASYNC PIPE!! GRAAAAAAAAHHHHH!!!"

    • @nishikantbawache3390
      @nishikantbawache3390 3 года назад

      I'm as surprised as you are, async pipe. Was I living under a rock?

  • @005yass
    @005yass 7 лет назад

    I'm realy very interested about the usine of rxjs and firebase in my app i'm waiting for a complet course do u geve coaching ?

  • @ttma1046
    @ttma1046 7 лет назад +2

    Thanks for the video!
    A quick question how can you paste the code ? do you use some quick paste tool?

    • @Fireship
      @Fireship  7 лет назад +8

      No plugins required. Just delete then ctrl-z.

    • @RafiAliKhan
      @RafiAliKhan 7 лет назад

      I was thinking about the paste tool too. Maybe there should be one. (But delete + CntlZ is a great way to do tutorials so its concise and quick)
      And your explanations are great, more videos, please.

  • @amirsohel9260
    @amirsohel9260 4 года назад

    which theme you are using in your Visual code

  • @anilgr1111
    @anilgr1111 5 лет назад

    Why not use just a variable instead of behaviour subject. We get current value in case of variables too right ?

    • @genyklemberg
      @genyklemberg 4 года назад

      We can use Behavior Subject throughout the project, from component to component

  • @d4lep0ro
    @d4lep0ro 7 лет назад

    can you provide an example of using Observable groupBy on a Firebase collection?

  • @dfenstermaker
    @dfenstermaker 7 лет назад +2

    I believe you skipped mentioning the major benefits of switchMap. It's counterpart mergeMap does as you explained. switchMap on the other hand cancels the previous request.

    • @Fireship
      @Fireship  7 лет назад

      Thanks for pointing that out. I wanted to include both mergeMap and switchMap in this video, but find the latter is more common, especially when dealing with firebase auth.

  • @incredibleliu
    @incredibleliu 2 года назад

    Nice stuff

  • @JoslynJane-bv4is
    @JoslynJane-bv4is 5 месяцев назад

    2001 Antonina Ridge

  • @tomaskosik5783
    @tomaskosik5783 5 лет назад

    Hi Fireship, maybe it's a dummy question but what does the {{ (someObject | async)? .somePropertyOfObject }} mean? Is it some shorthand ternary operator or what? I've never seet it before. Many thanks.

    • @Pungiish
      @Pungiish 5 лет назад

      The question mark is for rendering the object, if it exists, which it doesn't at first, because it's set to null. But when he selects an animal, the method is fired, assigning currAnimal to the selected animal, thus someObject (currAnimal) is not null, and the html is rendered. Just like if( true ? "true" : "false" ) returns true and if ( false ? "true" : "false" ) returns false.

  • @dimajoyti
    @dimajoyti 7 лет назад

    Hi, and thanks. You great man.

  • @xman6267
    @xman6267 5 лет назад

    I have no technical background just trying to understand how we would have handle data from API if we were not using this RXJS. angular is client side as far as i know and its not right to mix it with server side functionality might be violating Model View Controller architectural pattern.

  • @eternalwanderer3785
    @eternalwanderer3785 4 года назад

    This is great stuff, but your audio is way ahead of your video... the description of the attributes are done before the code is even displayed, and when it is displayed it disappears in a flash (6:40). Would be nice to slow it down a bit and not seem like you're rushing out the door.. even your exit music is playing before you're even done with explaining everything. I just feel like you want to wrap this up before it's even started.

  • @stefanoslalic2199
    @stefanoslalic2199 6 лет назад

    What OS do you use? Linux Arch?

  • @masterxilo
    @masterxilo 5 лет назад +1

    Why did it take the community of us programmers so long to use observables/streams/realtime dataflow pervasively? Excel demonstrated that it is a good idea years ago...

  • @FidelGuajardo
    @FidelGuajardo 5 лет назад

    thank you

  • @desi-musk
    @desi-musk 6 лет назад

    Thanks dude

  • @LiranPeleg
    @LiranPeleg 7 лет назад +1

    Good video

  • @el3atmoney
    @el3atmoney 6 лет назад

    Awesome..

  • @wytzevanderploeg1923
    @wytzevanderploeg1923 7 лет назад

    @2:44 I thought that unsubscribing was unnecessary for Observables that are finite/resolve. Like http requests for instance.
    stackoverflow.com/questions/38008334/angular-rxjs-when-should-i-unsubscribe-from-subscription

    • @Fireship
      @Fireship  7 лет назад

      Correct, if the Observable completes on it's own then unsubscribing is not necessary. Firebase observables continue to emit values, so it's necessary to unsub manually.

  • @LeifFeinberg-f2g
    @LeifFeinberg-f2g 5 месяцев назад

    Everardo Divide

  • @AugustineJonathan-i2i
    @AugustineJonathan-i2i 4 месяца назад

    Brooklyn Corner

  • @bravefastrabbit770
    @bravefastrabbit770 2 года назад

    I'm probably one amongst few. But I actually prefer you talking slower and in a monotone voice, it's easier to follow

  • @EveRaglan-u7o
    @EveRaglan-u7o 4 месяца назад

    Lillian Extension

  • @WhitneyBuden-d5f
    @WhitneyBuden-d5f 4 месяца назад

    Jonathan Place

  • @MarishaPhurrough-e7i
    @MarishaPhurrough-e7i 5 месяцев назад

    Kertzmann Expressway

  • @lexiaontube
    @lexiaontube 7 лет назад

    great and neat but way too fast for me lol

  • @YeatesGenevieve-q4p
    @YeatesGenevieve-q4p 4 месяца назад

    Cheyenne Plaza

  • @GeorgeEartha
    @GeorgeEartha 4 месяца назад

    3060 Shields Park

  • @LisaWoods-x8i
    @LisaWoods-x8i 5 месяцев назад

    Garcia Kenneth White Linda Robinson Larry

  • @magictom8
    @magictom8 3 года назад

    Like and subscribe... but don't forget to unsubscribe().

  • @JacksonBandons-e5f
    @JacksonBandons-e5f 5 месяцев назад

    Clark Steven Jones Robert Rodriguez George

  • @PriestleyJill-d6b
    @PriestleyJill-d6b 4 месяца назад

    Jones Cynthia Hernandez Larry Harris Charles

  • @MeghanMoore-oe4tq
    @MeghanMoore-oe4tq 5 месяцев назад

    Taylor Jason Lopez Steven Harris Sarah

  • @LuciusFrederica
    @LuciusFrederica 3 месяца назад

    Martin Sharon Miller Patricia Rodriguez Dorothy

  • @SeymourSamford-f6r
    @SeymourSamford-f6r 4 месяца назад

    Olen Well

  • @datguy4104
    @datguy4104 Год назад

    This looks so easy... firebase 9 feels awful, or the docs are awefull... I can't tell.

  • @StoweLauren-t1c
    @StoweLauren-t1c 4 месяца назад

    Wilson Thomas Hall Michelle Taylor Angela

  • @stefantrninic3994
    @stefantrninic3994 6 лет назад

    Niceone

  • @SharonMartin-x9v
    @SharonMartin-x9v 5 месяцев назад

    Ottilie Isle

  • @JoyceHaynes-d2x
    @JoyceHaynes-d2x 5 месяцев назад

    Jackson Paul Robinson David Hall Nancy

  • @sathishshaj7815
    @sathishshaj7815 5 лет назад

    I can't understand anything, may be this video is not tend for beginners!

    • @genyklemberg
      @genyklemberg 4 года назад

      angular and rxjs is not for beginners, you need to master that:)

  • @ThePatriotPirate
    @ThePatriotPirate 11 месяцев назад

    Never ever subscribe in the component and assign dogs to this.dogs. 99.999% of the time it should be handled with async as cats was

  • @JasonRios-t8u
    @JasonRios-t8u 5 месяцев назад

    White Course

  • @debayansaha820
    @debayansaha820 4 года назад

    U didn't use the map operator from RxJS. I think u used the map operator from vanilla JS and not RxJs.

  • @bobkazamakis5169
    @bobkazamakis5169 4 месяца назад

    fuck is this comments bruh??

  • @uaplatformacomua
    @uaplatformacomua 4 года назад

    very unclear

  • @sorinvestemean9686
    @sorinvestemean9686 4 года назад

    thank you

  • @GraceCalvin-f2y
    @GraceCalvin-f2y 4 месяца назад

    Wilson Kevin Clark Kimberly Thompson Lisa