WTF is

WTF is "Zone.js" and is it making your app slow?

56.085 Lượt nghe
WTF is "Zone.js" and is it making your app slow?
My modern Angular course: https://angularstart.com/ Zone.js is included in every Angular application and it is a critical part of change detection, but it also leads to your application doing way more rendering work than it actually needs to. In this video, we explore what exactly Zone.js does, why we need it, how we can work around it, and why it might be becoming optional in the future. Get weekly content and tips exclusive to my newsletter: https://mobirony.ck.page/4a331b9076 Learn Angular with Ionic: https://ionicstart.com More on OnPush Change Detection: https://youtu.be/tWy8zaWvkvk 0:00 Introduction 0:27 Component Tree 2:06 What does Zone.js do? 2:59 Default Strategy 4:25 OnPush Strategy 8:16 Async Pipe 10:10 RxAngular #ionic #angular - More tutorials: https://eliteionic.com - Follow me on Twitter: https://twitter.com/joshuamorony