Skill
Angular Signals Migration
Moves Angular components to signals, signal inputs and standalone APIs one component at a time, with a build and test run after each step.
1Migrate one component per pass. Never touch a component the user did not name, apart from its direct parents when a template call site must change.
2Steps
31. Read the component, its template, its spec and every place it is used. Note which fields the template reads.
42. Make it standalone if it is not: move imports from its NgModule into the component and remove it from the module declarations (`standalone: true` is the default from v19).
53. Convert inputs: `@Input() name` becomes `name = input<string>()` or `input.required<string>()`. Convert outputs to `output<T>()`. Two-way bindings use `model<T>()`.
angular
Angular Signals Migration
Skillangular
Free