Change Detection Strategy in Angular

Fun Of Heuristic
Fun Of Heuristic
47.8 هزار بار بازدید - 4 سال پیش - Angular Change Detection is how
Angular Change Detection is how angular achieves all its cool features. The two way binding in angular is possible due to the change detection by Angular. The default change detection will runs on all child components if something changed in the parent component, and that can cause a performance issue if you have a big component tree.
To avoid that we can use OnPush change detection strategy and ChangeDetectorRef and we can ask angular when to run the change detection, so this can improve the application performance.

TrackBy: trackBy - Efficient for loop in angul...
Progressive Web Apps Development: https://bit.ly/359BXpK
Angular Tutorial: http://bit.ly/2Tnwk1t
Dashboard with chart.js: http://bit.ly/3c9Jd85
Application Development: http://bit.ly/398w7Gf
Upload File to server: http://bit.ly/3ccsjWd

Discord: Discord: discord
Slack: http://bit.ly/2RXPcEK

You can support me on Patreon: Patreon: funofheuristic

Thanks for watching...
4 سال پیش در تاریخ 1399/05/27 منتشر شده است.
47,835 بـار بازدید شده
... بیشتر