Subjects in RxJS | Observables | Angular 12+

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

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

  • @heybiplabb
    @heybiplabb 2 года назад +6

    The way you teach us is just remarkable. Sometimes are confused that is we really learn Angular from RUclips or a paid Udemy course. Kudos to you sir.

  • @vaishnavik8221
    @vaishnavik8221 Год назад +1

    Thank you so much. I think I've found a good Angular tutorial RUclips channel. Before watching this video, I didn't have an idea about transferring data between unrelated components. Now, it's clear to me. From this video, I understand how to communicate with unrelated components using event emitters and subjects.

  • @vivianequeiroz6744
    @vivianequeiroz6744 2 года назад +15

    Your explanation was clear as water, thank you!!!

  • @Aurobinda-h8n
    @Aurobinda-h8n 3 месяца назад

    Excellent. This is what exactly I wanted. Please don't stop posting videos on RUclips.

  • @nagaranjandarbha7255
    @nagaranjandarbha7255 2 года назад +8

    Are there any cases where use of Subject is recommended over EventEmitter?

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

    Great Thanks Very Clear Tutorial About Subject...!

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

    Best tutorial ever on angular

  • @oksureapollo8486
    @oksureapollo8486 2 года назад +3

    Thanks a lot, this has helped me big time with the project Im currently working on👍👍

  • @scottvickrey2743
    @scottvickrey2743 2 года назад +1

    I love the way you make it so easy!!

  • @GauravKumar-rh1yl
    @GauravKumar-rh1yl Год назад

    Very Nice explanation

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

    This was an amazing explanation. Thank you!!!

  • @mdgosoddin192
    @mdgosoddin192 Год назад +1

    Excellent knowledge
    I have 5 years of experience
    Even though I appreciate you

  • @ranjanadeore2957
    @ranjanadeore2957 2 года назад +2

    Thank you sir for uploading value your video very helpful.

  • @gtanmoy
    @gtanmoy 2 года назад +2

    Excellent! Learnt a lot. Thank you

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

    Nice description, Do you have a repos for the same?

  • @NagarajaT
    @NagarajaT 2 года назад +1

    That was an excellent explanation !!

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

    great explaination

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

    Nicely explained, thank you.

  • @sharatha6533
    @sharatha6533 2 года назад +2

    Good one. Can you please add different unit test topics in Angular.

    • @procademy
      @procademy  2 года назад +3

      I have planned to do it at the end of this course.

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

      @@procademy Thanks a lot 🙂

  • @emad_arnesto9175
    @emad_arnesto9175 2 года назад +1

    thank you for this useful tutorial

  • @rey6253
    @rey6253 2 года назад +3

    Still it does not explain why using an Subject over an Event emitter, having to know both concepts is good, but its way more important to know when to use one over the other.

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

    Very nice. Thank you

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

    now i am clear with subjects... provide same like this for the observables and which is the best to use in projects i want to using a service... if already have please share the video link...thanks

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

    Great work. thank you

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

    I just want to know if we don't have any click function to trigger the event from service then how we can trigger that method ? What if I just need only the value in another component without any button click or anything ..

    • @procademy
      @procademy  Год назад +1

      The simple thing to understand here is that...what is going on in one component is not known to another component.
      If you want to pass a value from one component to another...the another component has to know that something has changed. For that we need to notify that component. To do that, we will have to emit some event.
      This event need not to be a click event, it can be any user defined event as well.

  • @manojradharapu1800
    @manojradharapu1800 2 года назад +1

    what is the difference between Subject and EventEmitter ?

    • @procademy
      @procademy  2 года назад +2

      Subject is an observable which makes component comunication easier. It has nothing to do with events or EventEmitter. But, we can use it pass value from one component to another which are not related.
      But, if we don't have subject and want to communicate between two components which are not related, we need to use the concept of property binding and event binding and combine these concepts to achieve it.

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

      @@procademy Thanks , it is clear

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

    HI thanks for the explanation. My data being passed is little complicated, so I am using 'any' type definitions in the methods. I see an error subscribe does not exist on type '(data: any) => void'. Do you have any idea where I might be going wrong?

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

    How your ngOnIt method gets called when you enter text?

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

    Let's say there is no button and I want to achieve same component interaction..how do we achieve it?

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

    You're amazing. Thank you.

  • @ДимаЕфремов-г6е
    @ДимаЕфремов-г6е Год назад

    God bless you!

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

    If the two components were children of the same parent, should I still use subject?

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

    Great vídeo!

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

    what is difference between eventemitter vs Obsevable?

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

    so why using subject instead of eventemitter? i don't get it

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

    How simple is that. Try to do the same in redux or vuex.

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

    Waiting

  • @sergeymigel4680
    @sergeymigel4680 2 года назад +1

    thanks!

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

    Hi, could you discuss Subject a bit more? The official explanation is not too clear. Thank you

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

    Please update response from below queries

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

    Thanks can you please share code in github ?

    • @procademy
      @procademy  2 года назад +2

      Here is the github link to download the source code: github.com/manojjha86/complete-angular-13-course.git

    • @greekplayback
      @greekplayback 2 года назад +1

      @@procademy Thanks 😃😃

    • @shagunnikam3095
      @shagunnikam3095 2 года назад +1

      @@procademy Thank you so much sir for this GitHub link.

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

    13 dk services + 3 dk subject = Subjects in RxJs