Why use OnPush in Angular? Not for performance... @JoshuaMorony
Why use OnPush in Angular? Not for performance...  @JoshuaMorony
Uploaded June 2022 | Updated September 2026, 2 weeks ago
My modern Angular course: angularstart.com

In this video, we discuss the less obvious benefit of OnPush change detection and that is that it helps you architect your applications better. We also look at a specific example of where using OnPush led me to creating significantly better code.

Get weekly content and tips exclusive to my newsletter: https://mobirony.ck.page/4a331b9076

Learn Angular with Ionic: ionicstart.com

How change detection works in Angular: blog.angular-university.io/how-does-angular-2-change-detection-really-work

0:00 Introduction
0:26 What is change detection?
3:00 The hidden benefit
4:37 Before the refactor
7:29 After the refactor
11:16 Conclusion

#ionic #angular #rxjs

- More tutorials: eliteionic.com
- Follow me on Twitter: twitter.com/joshuamorony
Why use OnPush in Angular? Not for performance...Take charge of your Nx workspace (adding Ionic to an Angular app manually)What building with TDD actually looks likeThis is why PROFILING is critical for high performance JavaScriptHow to test like a real API devThe Biggest Misconception of PROMISES vs OBSERVABLESHow to handle modals declaratively/reactively with Angular (and is it any better?)Is complex RxJS still useful with Angular signals?2 hours to build this!? Is TDD in Angular really worth it?Just enough Vim to get by... for people who dont want to use VimKnowing this makes Angular typed forms WAY less awkwardHeres what Ive figured out about Angular signals
Joshua Morony |

Why use OnPush in Angular? Not for performance...

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER