Комментарии:
Is that gonna work with ControlValueAccesor?
Ответитьway to go Josh, I am still confused with the effect tho. does it execute base on the squence we declare in it?
ОтветитьThat's all cool and interesting but I think you miss the point of reactive forms.
You kinda abstract the form-submission away and let your state manage code which by nature does not need declarative behaviour ... your form-submission is always imperative
Now what you get as a response you might want react to declarative but I don't see how you make this easier because you basically just smash one abstraction on top of another one and now developers have to deal with both ... reactive forms already manage the state of your form and its formcontrols declarative so I don't really see the merit in this tool except that it is cool
I like the approach here. I also feel like there's work to be done to reach a state of things that would be beginner friendly, or if not beginner, not a huge expert.
I see the current state of Angular like a transition, and I enjoy these experiments.
Thanks Josh
Personal opinion this does not really feel cleaner :)
ОтветитьForms are still a headache for me to this day. I'm glad to know that signals could potentially help alleviate some of the annoyance... Though I'm starting more and more to look towards template-driven forms, which seem to scale better than what people tend to say, I feel
ОтветитьIf you didn't know: In generel you can wrap any code which sets signals with the 'untracked' function.
ОтветитьGoogle, please considering hiring Joshua fulltime!
ОтветитьGreat video Josh! You would love the work Tim Deschryver has done with ng-signal-forms! It's built entirely on signals and ngModel, which means you get all what's beautiful this added layer on top of reactive form, without having to deal with reactive forms :D Validators that are disabled/enabled based on form state, multi page forms driven by a single signal form, debounced inputs, async validation, etc. Would love for you to give it a try and to hear your thoughts on it!
Ответитьshould we not do this with the new NgrxSignalStore ?
Ответитьi think we dont need to use signals on forms
ОтветитьIt's very interesting to see how your approach evolves from a video to another.
It teaches us how you analyse a given problem and find a suitable solution, while keeping in mind what could be improved.
Thank you for your dedication 👍
What do you think of Brecht Billiets approach using Signals and template driven forms instead?
ОтветитьThanks for the content, are you planning any update of your angular course soon?
Ответить