Загрузка...

Coming in Angular 22: OnPush by Default #angular22 #angular

Angular 22 introduces an important change to component change detection: "ChangeDetectionStrategy.OnPush" will become the default for all new components, improving performance and making change detection more predictable.
● All new components use OnPush
● OnPush is now the standard

➕ Default - Eager
At the same time, the old "ChangeDetectionStrategy.Default" will be renamed to "Eager", keeping existing behavior the same.

⚠️ These updates are part of the Angular team's plans for Angular 22, scheduled for release in May 2026.

ℹ️ Source (RFC #66779): https://github.com/angular/angular/discussions/66779

Angular is a registered trademark of Google and/or its affiliates. Other names may be trademarks of their respective owners/holders. Use of them does not imply any affiliation with or endorsement by them.

Видео Coming in Angular 22: OnPush by Default #angular22 #angular канала Igor Sedov
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять