Angular 20 deprecates the structural directives ngIf, ngFor, and ngSwitch, but they will still work in Angular 20 and some future versions. Since they are deprecated, they will be removed in a later release.
The new control flow (@if, @for, @switch) was introduced in Angular 17. If you haven’t switched yet, now is the time!
During "ng update", Angular will migrate templates automatically, so no manual changes are needed.
ℹ️ Source: https://github.com/angular/angular/pu...
Website: https://igorsedov.com
Email: [email protected]