diff --git a/_posts/2024-06-17-change-detection-default.md b/_posts/2024-06-17-change-detection-default.md new file mode 100644 index 0000000..06b7ed7 --- /dev/null +++ b/_posts/2024-06-17-change-detection-default.md @@ -0,0 +1,13 @@ +--- +title: "Angular - ChangeDetectionStrategy.OnPush по умолчанию" +layout: post +categories: Development +tags: [angular, changeDetection, OnPush] +share: true +--- + +Настроить ChangeDetectionStrategy.OnPush в качестве стратегии по умолчанию: + +```bash +ng config schematics.@schematics/angular.component.changeDetection OnPush +``` \ No newline at end of file