Does Claude Code know more? I got "Angular's FormBuilder is legacy sugar. With modern Angular, you should use FormControl, FormGroup, and FormArray directly." 😆 #Angular
Posts by Justin
Stylus🍿
Not doing a lot of web related stuff lately. I discovered Godot and am addicted 😆
It’s been a while. I wanna start writing again..
This is hype! It also prefetches API calls
Type checking in host bindings with language service support just landed in Angular!
github.com/angular/angu...
Done with debug december! Sadly not a hoodie, but maybe the ps5 though 😆
So how good is Copilot in VS Code? Can it already replace Cursor?
Really interesting!
Followed it online. It was great! Well done all!
I know this time of year can be super busy, and some of you can’t make it for NgGlühwein—but we’ve got you covered!
We’ll be live-streaming 📽️ the entire conference tomorrow!
📺 [ENG] You can watch it here:
www.youtube.com/watch?v=5m0e...
#Angular #TechConference
Please use the `NgOptimizedImage` directive within #Angular. It's so good. Especially with a image CDN!
angular.dev/guide/image-...
I want to declaratively listen to changes with TDF and was just trying some things out.
@Component({ standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [FormsModule], selector: 'app-group', template: ` <form> <div #personGroup="ngModelGroup" ngModelGroup="person"> <input type="text" [(ngModel)]="formModel().name" name="name" #nameControl="ngModel" /> </div> </form> `, }) export class GroupComponent { personGroup = viewChild.required<NgModelGroup>('personGroup'); nameControl = viewChild.required<NgControl>('nameControl'); formModel = signal({ name: 'John', }); ngAfterViewInit() { this.nameControl().valueChanges!.subscribe((value) => { console.log('name', value); }); setTimeout(() => { this.personGroup().valueChanges!.subscribe((value) => { console.log('personGroup', value); }); }); } }
Why is the `NgModelGroup` not available without a `setTimeout`, but the `NgControl` is? Guess I'm gonna have to dive into the source x) #angular
How would you listen to `valueChanges` from the `ngModelGroup` declaratively?
Why are apps automatically translating to my first language. Stop it😫
If you use NX, adopt enforce module boundaries asap. It will save you a headache..
nx.dev/features/enf...
Everywhere. I use cursor for non-related work stuff. It works great. Even with experimental things such as `resource`.
When are the #Angular vids from #ngPolandConf being uploaded. I really want to know what they said about forms!
Wrote a while ago about reusing TanStack queries in #angular, but never shared it here.
medium.com/@iamjustin/t...
inject all the way. We migrated our codebase without problems + it’s just better
Screenshot of TypeScript/Angular code showing an AddressInfoComponent class. The code includes a form template with a company ID input field and an address display section. The component class contains dependency injections and an Observable pipe chain that processes address data based on company ID validation.
Experimenting with TDF, but how do we react to `valueChanges` declaratively? This works, but idk #Angular
For sure! You can find them here go.bsky.app/hLveAd
A lot of content from @brechtbilliet.bsky.social. I've been reading all day. Super interesting! Gonna start experimenting with TDF. Thanks all :)
bsky.app/profile/toba...
And with signals 👀 bsky.app/profile/arma...
For anyone wondering. The videos by Ward Bell www.youtube.com/watch?v=L7rG... & www.youtube.com/watch?v=EMUA...
So I'm watching the videos from Ward Bell about template-driven forms in #Angular. It's great. Anyone else preferring TDF over RF? Any good articles or videos to share? :)
🚀 Meet Angular v19
‣ Incremental hydration
‣ Server route config
‣ linkedSignal, resource, renderEffect
‣ Auto CSP
‣ Unused import reporting
‣ Standalone by default
‣ Enhanced theming
‣ Time picker
‣ 2D drag & drop
‣ Many codemods to modernize your code
Much more!
blog.angular.dev/meet-angular...