You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Angular's OnPush Change Detection Strategy eliminates any unnecessary change detection circles in an Angular application to unlease the best performance of the application.
I suggest that we should specify the OnPush change detection strategy as the default change detection strategy when generating components, by configuring the schematics in angular.json:
Besides, whenever a component needs to be updated in the future, OnPush should be specified as its change detection strategy, in order progressively make every component OnPush, and eventually migrate to a Zoneless Angular Application (eliminate the usage of zone.js).
Screenshots (as needed)
No response
The text was updated successfully, but these errors were encountered:
Desired Changes
Angular's
OnPush
Change Detection Strategy eliminates any unnecessary change detection circles in an Angular application to unlease the best performance of the application.I suggest that we should specify the OnPush change detection strategy as the default change detection strategy when generating components, by configuring the schematics in angular.json:
Besides, whenever a component needs to be updated in the future, OnPush should be specified as its change detection strategy, in order progressively make every component OnPush, and eventually migrate to a Zoneless Angular Application (eliminate the usage of zone.js).
Screenshots (as needed)
No response
The text was updated successfully, but these errors were encountered: