The Role of "exportAs" Property in Angular [RE-UPLOADED]

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 ก.ค. 2024
  • Level up your Angular skills with my Advanced Courses 🚀
    bit.ly/advanced-angular-courses
    Sometimes small tricks might let you implement features with less effort. One of these tricks is using the exportAs feature that can help you to get the reference to the directive or component instances right in the template. In this video, you will see it in action. Please help to share this video if you find it useful. Enjoy!
    💁 If you want to support the channel:
    bit.ly/donate-to-decoded-fron...
    💡 Short Frontend Snacks (Tips) every week here:
    Twitter - / decodedfrontend
    Instagram - / decodedfrontend
    LinkedIn - / dmezhenskyi
    🕒 Time Codes:
    00:00:00 - Intro;
    00:00:40 - Reasons why video is re-uploaded;
    00:01:14 - About Referencing Template Elements;
    00:05:52 - ExportAs property in Action;
    00:10:27 - Outro;
    #angular #webdevelopment
  • วิทยาศาสตร์และเทคโนโลยี

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

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

    Level up your Angular skills with my advanced courses 🚀
    bit.ly/advanced-angular-courses

  • @artemyavorskyi5865
    @artemyavorskyi5865 9 หลายเดือนก่อน +13

    Талант розглядати цікаві теми. Один з кращих каналів по Ангуляру!

  • @hakobyansamvel54
    @hakobyansamvel54 9 หลายเดือนก่อน +3

    You are the best, thank you, I will be very happy to see deep explanation of angular animations by you, thank you agin ❤

  • @Nikkvv
    @Nikkvv 9 หลายเดือนก่อน +2

    Дякую, шикарне відео

  • @Nabulio85
    @Nabulio85 9 หลายเดือนก่อน +2

    Thank you Dmytro for this new version of the video on exportAs.
    The explanations are much clear and precise.

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

      I hope it is really so :) Thank you!

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

    Thank for your explaination!

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

      Thank you. Glad to hear that 🙂

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

    Very informative. Thanks buddy

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

    Excellent video!! Thank you so much..

  • @gagiksimonyan3782
    @gagiksimonyan3782 9 หลายเดือนก่อน +2

    Thanks for another useful video, Dmytro 😉

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

    Thank you for the updated video :)

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

    Can you make the video series of angular universal(SSR) to improve the performance. It would be really cool if you cover the performance and hosting and minimizing the bundle size of SSR application.

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

    Very clear explanation. I haven't used this property yet but it's good to understand the possible use cases.
    Дякую! 👍

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

      🙌🏻 you are welcome! Thanks for this comment.

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

    Thank you, as always

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

    Thank you 😊

  • @malyna
    @malyna 9 หลายเดือนก่อน +2

    Дуже хороший приклад

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

    so beautiful English!

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

      Thank you (if it is not a touch of sarcasm 😅).

  • @filipbarbaric1960
    @filipbarbaric1960 3 หลายเดือนก่อน

    very cool video

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

    can you please make a video about best practices of angular application structure? How should we create, manage and use our libraries? what is the pros and cons?

  • @AzadKanwar
    @AzadKanwar 9 หลายเดือนก่อน +2

    awesome ❤

  • @genyklemberg
    @genyklemberg 9 หลายเดือนก่อน +2

    I thought I missed some bonus time video, while saw it in subscription, but didn't see it in your channel 😂

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

      It is actually good for you that you didn't see it because this one is more accurate 😉

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

    Please upload your previous video of this export as, which you have deleted. That was also very beautiful expression.

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

    useful and shared

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

    Thanks for clear explanation, I have understood that exportAs enables access to directive instance.
    Can element allow more than on template reference in case I want access to both input and directive
    Can exportAs replace @Input and @Output communicate to directive

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

      Hi! Yes, you can have multiple template references on the same element. Regarding replacing inputs and outputs I would not say that it can be replaced by it.

  • @ChessPuzzlesVideo
    @ChessPuzzlesVideo 9 หลายเดือนก่อน +2

    why formControlName directive don't have exportAs variable ?

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

      I think it is because, unlike ngModel, the FormControlName doesn’t „own“ the FormControl instance which represents the state of control, so there is nothing to read from that.

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

      @@DecodedFrontend Due to that showing form controls validation errors will be little bit tough.

  • @George_331
    @George_331 8 หลายเดือนก่อน +2

    Було корисно😊

    • @DecodedFrontend
      @DecodedFrontend  5 หลายเดือนก่อน

      Радий це чути. Дякую! :)

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

    :)

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

    I see very useful and cool property. I personally dont know about this new property.

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

      Actually, it is not a new one :) It exists quite a lot but it was used not so often