Typed Forms in Angular

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ก.ค. 2022
  • Hi friends 👋!
    Welcome to another new video all where we're talking about Typed Forms in Angular. Our very own Dylan Hunn shares the details! Are you already using Typed Forms in your applications? Let us know in the comments down below.
    Typed Forms Guide
    angular.io/guide/typed-forms
    Join the conversation online:
    Angular Twitter → / angular
  • บันเทิง

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

  • @xucongzhan9151
    @xucongzhan9151 ปีที่แล้ว +8

    I didn't expect it but I got more and more excited towards the end. Dang, this is a great improvement! Bravo~

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

    Nice typing improvements. Great type checker and more robust models in future. Nice work guys. I'm excited to see some dynamic, union types examples. Thank you again.

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

    this is amazing, it might be slightly annoying to go back and modify the old code but the benefits are huge and good thing we can do it on our own pace without braking old code

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

    FINALLY MAN was waiting for this like 2 years
    Wasn't this always the intuitive way it should work

  • @MrArdo-branch-main
    @MrArdo-branch-main ปีที่แล้ว +2

    Niceeee thank you again Angular teams 💯🔥

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

    Great job Angular team!

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

    Angular Forms are just awesome, even the old way. We are a very heavy user of forms in the frontend, be is template driven, reactive, and dynamically. On average our 100+ apps feature roughly 120 form fields.

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

    TNice tutorials is absolutly the best video of the world you expaining skills are good and it was a honor to see tNice tutorials vid well done

  • @hansschenker
    @hansschenker ปีที่แล้ว +8

    Typescript and RxJs are the ways to move forward. Typed Forms is totally based on Typescript! I would like to see the same approach with RxJs being more used in Angular!

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

      How does someone new learn how to use rxjs in angular?

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

      @@zo9fg how about taking an rxjs course?

    • @ki9wi
      @ki9wi 10 หลายเดือนก่อน

      @@alexandrtcacenco8129 that is logical

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

    This is great!

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

    Great introduction!

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

    Well done 👏

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

    Love it♥️

  • @aram5642
    @aram5642 4 หลายเดือนก่อน

    I was excited at first when typed forms were released. But then I opted back to untyped forms I hope for a real reactive forms makeover that will make them more declarative.

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

    I see no downside to this other than having to go back and update old code ofc lol. Good job!

  • @mahendranath2504
    @mahendranath2504 6 หลายเดือนก่อน

    Thank you so much

    • @Angular
      @Angular  6 หลายเดือนก่อน

      No problem :)

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

    Respect bro

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

    Awesome

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

    thank u

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

    Great. But how to focus form-control via code?

  • @michelangelol.kapunan2596
    @michelangelol.kapunan2596 ปีที่แล้ว

    style I downloaded the demo to soft soft yesterday, and I'm going to learn from you to make my own stuff, and I wanted to leave tNice tutorials

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

    I am such a nerd because I got impressed by this haha

  • @CarlosHerasme
    @CarlosHerasme 6 หลายเดือนก่อน

    I liked a lot the idea, but I didn't like the implementation. It's too painful the idea to repeat myself to use strong type forms: the interface I'm using to send the request to the API, and exactly the same interface but using the form classes.
    My opinion is this should work with the interface model: FormGroup; public interface Person { name: string; age: number }. And that's it.
    For those struggling with it, this code could help some times (I'm not the one who wrote it, and I don't remember who did it, I'm sorry):
    export type TypedForm = {
    [K in keyof T]-?: T[K] extends Array
    ? FormArray
    : T[K] extends Record
    ? FormGroup
    : FormControl;
    }

  • @Rahul-rk6pn
    @Rahul-rk6pn ปีที่แล้ว

    tNice tutorials actually was, and I'm just starting myself, I have no idea what I'm doing but I have a ton of ideas in my head. Ti to figure tNice tutorials out

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

    no link in description...

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

      Ah, thanks for catching that one - we've updated the description. Here's the link - angular.io/guide/typed-forms

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

    You still have much to do in Angular/forms module. It’s so painful to build a form based on a typed model… why not implement a scaffolding function ?

    • @CarlosHerasme
      @CarlosHerasme 6 หลายเดือนก่อน

      Not only that, I think it should work with the interface and that's it. Something like: FormGroup.
      I loved the idea, but I have my doubts about using it because the amount of code I need to write only to be "type safe".

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

    and it softs like a normal honest opinion. I get that so of you are joking, but could you please let it be. I

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

    Let's make soft!

  • @prep-pafheadmistress9844
    @prep-pafheadmistress9844 ปีที่แล้ว

    ong

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

    ONG

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

    I accidentally deleted the channel rack. I’m lost

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

    No.Access.Modifiers.
    Lost me.

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

    12 major versions. It took you 12 major versions and 8 years to add this crucial feature...
    P.S. When will your "compiler" stop needing whole 4GB of RAM to compile a basic app?

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

    Angular is still way too mambo jambo for very basic functionality. 14 versions and forms still suck. Just switch to svelte with typescript..or vue. This shouldn't be this complex...yuck. Binding forms to variables should be 5 seconds, not this. Angular reminds me of old java...alot of code to get a simple api up and running, yuck...

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

      I don't think the Angular team is targeting basic functionality.

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

      As a dev that worked a lot with React too i have to disagree, angular is a god damn reference when you need to work with forms, It's simple, easy and basic... Docs are great, examples are complete and i like It a lot.

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

    FormGroup.control.name ?? I Always thought it was deprecated and use formGroup.get('name')... Great feature anyway :)