Angular20アップデート雑感(マニアック路線)
DRANK

Angular20がリリースされました。区切りでこれが大きく変わった!ということはなく、これまで通りに開発が進んでいます。具体的な内容はこちらをご覧ください。 update でアップデートをかけたら、以下のオプショナルマイグレーションがでてきました。いつも思うんですが、「オプショナルマイグレーション」といってもignoreの選択肢ない状態で後続のマイグレーションがわからないので、あまりオプショナル感ないですよね。笑** Optional migrations of package '@angular/core' ** This package has 1 optional migration that can be executed. Optional migrations may be skipped and executed after the update process, if preferred. Select the migrations that you'd like to run (Press <space> to select, <a> to toggle all, <i> to invert selection, and <enter> to proceed) ❯◯ [control-flow-migration] Converts the entire application to block control flow syntax. これで実質、Angular20以降のプロジェクトからは NgIf NgFor NgSwitch といった以前の構文からは一掃されることになりました。 deprecated がついたので、1年後のv22以降にこれらのAP…

zenn.dev
Related Topics: Angular
1 comments