Тёмный

From Beginner to Pro: Demystifying Angular Change Detection in Depth 

Monsterlessons Academy
Подписаться 47 тыс.
Просмотров 5 тыс.
50% 1

Опубликовано:

 

14 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 13   
@MonsterlessonsAcademy
@MonsterlessonsAcademy 4 месяца назад
WATCH NEXT: Angular Interview Questions and Answers - Dominate Your Next Interview - ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-5A_YKlVWMPo.htmlsi=2DCn7yspEAAJ2H6l
@enverusta7811
@enverusta7811 4 месяца назад
Your contents are amazing, please keep on!
@MonsterlessonsAcademy
@MonsterlessonsAcademy 4 месяца назад
Thanks, will do!
@AnthonyInSanDiego
@AnthonyInSanDiego 4 месяца назад
I'm so glad I ran into a Reddit comment that led me here. I've been writing Angular 10 close to 2 years and still haven't had clear understanding on CD, Zone.js, and OnPush. I'm excited for the changes to latest Angular.
@MonsterlessonsAcademy
@MonsterlessonsAcademy 4 месяца назад
That's awesome!
@ashutoshbhardwaj9801
@ashutoshbhardwaj9801 4 месяца назад
Great video and great document that you followed,
@MonsterlessonsAcademy
@MonsterlessonsAcademy 4 месяца назад
Glad you enjoyed it
@xxRAP13Rxx
@xxRAP13Rxx 3 месяца назад
Thank you so much for this video! I subscribed. I did have two questions: 1. at timestamp 6:30, we see that the rightmost component with a shield updates its immediate left child even though that left child is NOT marked dirty. Is that because as you say, "when our parent component is updated, we also update all children". So any child component of an updated parent component will get updated UNLESS... that child component uses onPush change detection strategy AND that child is NOT marked dirty? 2. at timestamp 8:30, were you ultimately saying that using async pipe within our HTML is more time efficient than changing data fields within the component classes stored within our .ts files?
@MonsterlessonsAcademy
@MonsterlessonsAcademy 3 месяца назад
1. Angular updates all components every time when they or their parents don't have onPush 2. I didn't say that. It compares detectChanges vs markForCheck. First if immediate force detect which second does marking dirty which leads to the detect changes when onMicrotaskEmpty is finished. As you can see async pipe just do markForCheck.
@deadlyecho
@deadlyecho 4 месяца назад
Great video ❤
@MonsterlessonsAcademy
@MonsterlessonsAcademy 4 месяца назад
Glad you liked it!!
@vladwolf444
@vladwolf444 3 месяца назад
Is there similar material on working with DI in Angular?
@MonsterlessonsAcademy
@MonsterlessonsAcademy 3 месяца назад
I don't know any
Далее
Это было очень близко...
00:10
Просмотров 1,3 млн
Cool Parenting Gadget Against Mosquitos! 🦟👶
00:21
Angular change detection explained in 5 minutes
6:06
From Good to Great: Optimizing Angular Performance
9:38
Full Stack Developers will take over. This is why.
11:26
Senior Angular Developer Interview (theory)
41:57
Просмотров 24 тыс.
Myths About Angular in 2024
11:19
Просмотров 9 тыс.
Microservices are Technical Debt
31:59
Просмотров 510 тыс.
Change Detection Strategy in Angular
23:17
Просмотров 49 тыс.