Angular Control Flow v19 Migrator

•
2
•

Migrates Angular templates from legacy structural directives to the modern v19 built-in control flow syntax.

This skill automates the modernization of Angular applications by converting legacy structural directives like *ngIf, *ngFor, and *ngSwitch into the optimized @if, @for, and @switch block syntax. Designed for use after a project has stabilized on Angular 19, it facilitates a controlled, incremental transition of specific feature slices rather than a risky whole-app conversion. It ensures that required tracking expressions are handled and that template logic remains equivalent while reducing boilerplate and improving developer experience.

주요 기능

01Converts *ngIf to @if blocks including else and then branches
02Migrates *ngSwitch to @switch and @case block structures
03Transforms *ngFor to @for with mandatory tracking expressions
042 GitHub stars
05Ensures explicit handling of fallback and empty states
06Validates nested template behavior and accessibility during modernization

사용 사례

01Incremental refactoring of structural directives within bounded feature modules
02Modernizing legacy Angular templates to utilize native framework performance optimizations
03Reducing template boilerplate in large-scale Angular 19+ enterprise applications