Typed Forms in Angular

  Рет қаралды 58,265

Angular

Angular

Күн бұрын

Пікірлер: 44
@xucongzhan9151
@xucongzhan9151 2 жыл бұрын
I didn't expect it but I got more and more excited towards the end. Dang, this is a great improvement! Bravo~
@aj8__8
@aj8__8 2 жыл бұрын
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
@hansschenker
@hansschenker 2 жыл бұрын
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 Жыл бұрын
@@alexandrtcacenco8129 that is logical
@jeffnikelson5824
@jeffnikelson5824 2 жыл бұрын
FINALLY MAN was waiting for this like 2 years Wasn't this always the intuitive way it should work
@brainoverflow06
@brainoverflow06 Жыл бұрын
exactly!
@ProBloggerWorld
@ProBloggerWorld 2 жыл бұрын
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.
@kass160
@kass160 2 жыл бұрын
Great job Angular team!
@abdulsalaamkhan9431
@abdulsalaamkhan9431 2 жыл бұрын
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
@aram5642
@aram5642 11 ай бұрын
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.
@MrArdo-branch-main
@MrArdo-branch-main 2 жыл бұрын
Niceeee thank you again Angular teams 💯🔥
@apprun
@apprun 2 жыл бұрын
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.
@Double_T_G
@Double_T_G 2 жыл бұрын
I see no downside to this other than having to go back and update old code ofc lol. Good job!
@divv8079
@divv8079 2 жыл бұрын
Well done 👏
@Kems_live
@Kems_live 2 жыл бұрын
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
@CarlosHerasme
@CarlosHerasme Жыл бұрын
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; }
@EwaldDieser
@EwaldDieser 2 жыл бұрын
Great introduction!
@SirWilliamWalker
@SirWilliamWalker 2 жыл бұрын
This is great!
@mahendranath2504
@mahendranath2504 Жыл бұрын
Thank you so much
@Angular
@Angular Жыл бұрын
No problem :)
@joeng5999
@joeng5999 2 жыл бұрын
Love it♥️
@Rahul-rk6pn
@Rahul-rk6pn 2 жыл бұрын
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
@muhammadtariq8323
@muhammadtariq8323 2 жыл бұрын
Great. But how to focus form-control via code?
@michelangelol.kapunan2596
@michelangelol.kapunan2596 2 жыл бұрын
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 2 жыл бұрын
I am such a nerd because I got impressed by this haha
@amartunio3588
@amartunio3588 2 жыл бұрын
Respect bro
@theobellash6440
@theobellash6440 2 жыл бұрын
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 Жыл бұрын
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".
@RobertKing
@RobertKing 2 жыл бұрын
Awesome
@subhajitmoyra6275
@subhajitmoyra6275 2 жыл бұрын
thank u
@moviesthataint5613
@moviesthataint5613 2 жыл бұрын
and it softs like a normal honest opinion. I get that so of you are joking, but could you please let it be. I
@RajinderYadav
@RajinderYadav 2 жыл бұрын
2:39 why is he using type? when the norm is interface, type are legacy way and should be left in the past. This video is awful showing typed forms and I've been coding for 15 years.
@mannejaiswal4987
@mannejaiswal4987 2 жыл бұрын
Let's make soft!
@prep-pafheadmistress9844
@prep-pafheadmistress9844 2 жыл бұрын
ong
@fareedkhanikor1835
@fareedkhanikor1835 2 жыл бұрын
ONG
@prashantbaisoya1497
@prashantbaisoya1497 2 жыл бұрын
I accidentally deleted the channel rack. I’m lost
@faceupanddown
@faceupanddown 2 жыл бұрын
No.Access.Modifiers. Lost me.
@nsubugakasozi7101
@nsubugakasozi7101 2 жыл бұрын
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 Жыл бұрын
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 2 жыл бұрын
FormGroup.control.name ?? I Always thought it was deprecated and use formGroup.get('name')... Great feature anyway :)
Introduction to Internationalization in Angular
13:04
Angular
Рет қаралды 133 М.
How to Make Forms in Angular REUSABLE (Advanced, 2023)
21:10
Decoded Frontend
Рет қаралды 72 М.
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 33 МЛН
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 17 МЛН
Angular v19 Developer Event
22:54
Angular
Рет қаралды 69 М.
Optimize the bundle size of an Angular application
13:23
Angular
Рет қаралды 56 М.
Getting started with typed reactive forms in Angular
18:43
Google Open Source
Рет қаралды 4,4 М.
💥 Angular TYPED Forms: Are You Using Them Correctly? #angular
12:08
Angular University
Рет қаралды 4 М.
Reactive Forms in Angular - Dynamic Validation
13:24
Decoded Frontend
Рет қаралды 11 М.
Getting started with Angular Signals
11:03
Angular
Рет қаралды 44 М.
Angular Reactive Forms - All Needed Use Cases
15:55
Monsterlessons Academy
Рет қаралды 35 М.
What's new in Angular
39:19
Chrome for Developers
Рет қаралды 24 М.
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 33 МЛН