Zum Hauptinhalt springen
•
Windows Tipps & SecurityWindows 11: Die neue Suche öffnet jetzt Android-Apps vom Smartphone(01.11.2026 um 13:00 Uhr)
••
Sicherheitslücken (CVE)CVE-2026-105483 remediation checklist for Node.js teams(01.11.2026 um 21:40 Uhr)
••
Sichere ProgrammierungThe Hard Part of Leaving `request` is the App Built Around It(01.11.2026 um 21:41 Uhr)
•
Sichere ProgrammierungGiving an AI agent a wallet without giving it your keys(01.11.2026 um 21:41 Uhr)
•••
Proof of Concept (PoC)Pasta Inspector(01.11.2026 um 21:48 Uhr)
••
Windows Tipps & SecurityWindows 11: Die neue Suche öffnet jetzt Android-Apps vom Smartphone(01.11.2026 um 13:00 Uhr)
••
Sicherheitslücken (CVE)CVE-2026-105483 remediation checklist for Node.js teams(01.11.2026 um 21:40 Uhr)
••
Sichere ProgrammierungThe Hard Part of Leaving `request` is the App Built Around It(01.11.2026 um 21:41 Uhr)
•
Sichere ProgrammierungGiving an AI agent a wallet without giving it your keys(01.11.2026 um 21:41 Uhr)
•••
Proof of Concept (PoC)Pasta Inspector(01.11.2026 um 21:48 Uhr)
•
Intelligence View
⚡ tsecurity.de Intelligence

Angular 22.1: what's new

Angular 22.1: what's new Angular 22.1 shipped a handful of changes worth knowing about if you're on a recent version. Here's what's in it, with code.…

Beitrag
0
Seite
0
↗ Quelle (dev.to)
Social ReaktionenReagiere als Erste:r — dein Feedback zählt!




Angular 22.1: what's new



Angular 22.1 shipped a handful of changes worth knowing about if you're on a recent version. Here's what's in it, with code.






Signal-based queries are more flexible



You can now use viewChild and contentChild with more relaxed type inference in more places, including inside computed signals.




export class MyComponent {
header = viewChild<HeaderComponent>('header');

headerText = computed(() => this.header()?.text() ?? '');
}






No boilerplate ngAfterViewInit checks needed to read the value safely.






Improved hydration diagnostics



If you're using SSR, error messages for hydration mismatches now point more precisely at the DOM node that caused the mismatch, instead of just naming the component.




bootstrapApplication(AppComponent, {
providers: [provideClientHydration()],
});






The console output during dev now includes the actual vs expected node, which cuts down on guesswork when a mismatch happens deep in a template.






Smaller control flow fixes



@for blocks with track now catch a few more cases where the tracking expression references something that changes identity unexpectedly, and warn about it in dev mode.




@for (item of items(); track item.id) {
<app-item [data]="item" />
}






If item.id isn't stable, you'll see a warning in the console rather than silent re-renders.






Build output



Builds using the application builder produce slightly smaller bundles due to better tree-shaking of unused signal utilities. No config changes required to get this — it's automatic on upgrade.



That's the bulk of it in 22.1. Nothing dramatic, mostly refinements to signals, hydration, and control flow.

Intelligence Digest - bezpłatnie Codziennie najważniejsze wiadomości bezpieczeństwa · można pobrać w każdej chwili
Community Rating & Social Proof
⭐ Leser-Wertung
–
Ø / 5.0
Brak recenzji czytelników
Czy ta strona była pomocna?
0
Jetzt Bewertung abgeben
🟢 Niedrig (1-3.9) 🟡 Mittel (4.0-6.9) 🔴 Hoch (7.0-8.9) Kritisch (9.0-10.0)

Powiązany klaster opowieści i źródła (wektor AI)

Rysunek do aktualizacji
Nächster Beitrag