6. Understand Change Detection Strategy onPush and Default in Angular RxJS.

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ธ.ค. 2024

ความคิดเห็น • 21

  • @ЯдвигаПирожкова
    @ЯдвигаПирожкова 2 ปีที่แล้ว

    Thank you, Leela. I was crying about this onPush soo long.

  • @bhoomigarachh8357
    @bhoomigarachh8357 11 หลายเดือนก่อน

    Well explained with an ease

  • @VinitBaviskar
    @VinitBaviskar ปีที่แล้ว

    One of the best video.. I have ever watched.. very good explanation

  • @mv7413
    @mv7413 2 ปีที่แล้ว

    Very well explained about Change Detection Strategy in Angular

  • @triptiyashi2635
    @triptiyashi2635 2 ปีที่แล้ว

    Thank you . You have explained the concept clearly..

  • @darshan1519
    @darshan1519 2 ปีที่แล้ว +1

    Thanks sir please don't stop posting videos

  • @kaushalkishor143
    @kaushalkishor143 9 หลายเดือนก่อน

    thanks, good explain

  • @confidencekpodo7793
    @confidencekpodo7793 ปีที่แล้ว

    well explained...

  • @achouriissam6368
    @achouriissam6368 7 หลายเดือนก่อน

    Hello,
    I think if u use the async pipe in html component you will be detect changes without using the changeDetectorRef and you will not use the ngdestroy life cycle hooks
    Because the async pipe do the unsbscription at the end of html rendering process

  • @ajaygawali9229
    @ajaygawali9229 2 ปีที่แล้ว

    Helpful 🙂

  • @codewithbear
    @codewithbear 7 หลายเดือนก่อน

    thank you so much, but can you make future video in hindi to beginners well understand...

  • @ashwini4444
    @ashwini4444 3 ปีที่แล้ว

    Thank you Sir , your videos are so helpful , keep going (:

  • @chaitanyav8159
    @chaitanyav8159 2 ปีที่แล้ว

    Very good video. Thank you. could you please paste the continuation video link..

  • @nandagiriramyasree6804
    @nandagiriramyasree6804 ปีที่แล้ว

    Hi sir,
    This is Ramya. Change Detection occurs in parent to child component or any other components which is not having any parent child communication ? This is my doubt

  • @LukeTamang
    @LukeTamang ปีที่แล้ว

    Could someone please explain to me why there are four consoles at the initial load? Shouldn't there be only two?

    • @darnaryelfantaisie5737
      @darnaryelfantaisie5737 ปีที่แล้ว

      That's because the Angular change detection cycle (the process by which Angular compares the component tree with its own internal view of said tree, to detect if there was any change) is done twice in DEV mode (not in PROD).
      This check is done by reference (like for all objects and array in javascript), which is also why the data doesn't show in the video: when he does 3:00 "this.posts = data", the reference to "this.posts" is not changed. He's simply making the "posts" variable point to the object "data", containing the data, which is why the internal data is clearly changed as seen in the console. To make sure Angular picks up the change, it's only necessary to make sure the reference to "this.posts" is changed, for example by using the spread operator and doing something like "this.posts = {...data}".
      I think it is well explained here : th-cam.com/video/-tB-QDrPmuI/w-d-xo.htmlsi=WgfOOnGqaoFU5AcP&t=149

  • @none0n
    @none0n 2 ปีที่แล้ว

    Please where is the continuation of the ChangeDetection topic?

    • @LeelaWebDev
      @LeelaWebDev  2 ปีที่แล้ว

      This whole playslist has the videos

  • @kashifalikhan4420
    @kashifalikhan4420 ปีที่แล้ว

    ChangeDetectorRef

  • @igorr4682
    @igorr4682 ปีที่แล้ว

    I appreciate your videos, but I find it difficult to understand you sometimes because of your accent and the speed at which you speak

    • @LeelaWebDev
      @LeelaWebDev  ปีที่แล้ว

      I am trying to Improve my way of speaking