Back to Angular

Combined signals migration

packages/core/schematics/ng-generate/signals/README.md

22.0.0-next.10649 B
Original Source

Combined signals migration

Combines all signal-related migrations into a single migration. It includes the following migrations:

  • Converting @Input to the signal-based input.
  • Converting @Output to output.
  • Converting @ViewChild/@ViewChildren and @ContentChild/@ContentChildren to viewChild/viewChildren and contentChild/contentChildren.

The primary use case for this migration is to offer developers interested in switching to signals a single entrypoint from which they can do so.

How to run this migration?

The migration can be run using the following command:

bash
ng generate @angular/core:signals