Question: interest/feasibility of features based off of Angular release candidates #334
-
QuestionIs a proposed/considered utility based off of a release candidate of Angular worth making an issue so early? Why I askI have been experimenting with an API introduced in v18.0.0-next.3. I believe it has great potential and I think I have a decent use case for it worth spinning out into a utility. That is its own discussion, but before I make a formal issue I want to make sure I am not proposing this too early. Ideally I want to make a good issue that is explained, has examples, tests, etc. But the underlying API is so new. I can hold off on making an issue until it is formally included in v18. But if the project would be open to issues based on an release candidate API, I would be glad to get this idea out there early and iterate on it. edit: my particular idea and it's RC API aside, I am curious about if RC APIs are worth considering in this project in general. My proposed utility, since I am explaining my thoughts anywaysI am very excited for an upcoming feature in Angular that was introduced in v18.0.0-next.3. The feature? feat(forms): Unified Control State Change Events #54579. It closes an issue filed in Angular 2.0.0-rc.5, and is one of the most requested issues. As a reactive forms person, this is the coolest thing I am looking forward to in the future short of an official reactive forms + signal API. I have made various utilities using this, including something like function allEventsUnified<T>(form: AbstractControl<T>): Observable<{
value: T;
status: FormControlStatus;
touched: boolean;
pristine: boolean;
}> Naturally, I have In my head, even if a bolted in new form with signals API somehow makes it into Angular 18, I still think there is potential in some of the things I am experimenting with. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Note: things did change since I wrote this: event types changed some names and submit/reset events were added. But things look solid for v18 coming soon. |
Beta Was this translation helpful? Give feedback.
Hi,
Yeah, this would be great if we could create some helper utils to unify all in one place. Looks like more stuff are added.