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 fo...
Progressive Web Apps Development: bit.ly/359BXpK
Angular Tutorial: bit.ly/2Tnwk1t
Dashboard with chart.js: bit.ly/3c9Jd85
Application Development: bit.ly/398w7Gf
Upload File to server: bit.ly/3ccsjWd
Discord: / discord
Slack: bit.ly/2RXPcEK
You can support me on Patreon: / funofheuristic
Thanks for watching...
Негізгі бет Change Detection Strategy in Angular
Пікірлер: 62