subscribe vs async pipe in Angular

แชร์
ฝัง

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

  • @durairajrajendiran9725
    @durairajrajendiran9725 ปีที่แล้ว +5

    Simple and effective , we don't want to unsubscribe it. When we use async pipe 😎😎😎

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

    In case of refresh to call same service ??

  • @PivaWillianS
    @PivaWillianS ปีที่แล้ว +3

    Wait, seriously?

  • @denisshepelev1966
    @denisshepelev1966 7 หลายเดือนก่อน +1

    Where is unsubsribe?

    • @utkarshpant5297
      @utkarshpant5297 7 หลายเดือนก่อน +1

      aysnc pipe does it automatically by setting ChangeDetectionStragegy.OnPush

    • @semlon5266
      @semlon5266 7 หลายเดือนก่อน +1

      Angular does it automatically

    • @HippoYTt
      @HippoYTt หลายเดือนก่อน +1

      It's on angular 😢