Change Detection Strategy in Angular

preview_player
Показать описание
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.

Thanks for watching...
Рекомендации по теме
Комментарии
Автор

I've been looking for an Angular YouTuber. Thanks for being one!

chandlerbaskins
Автор

Você explica muito bem finalmente encontrei alguém que vale a pena seguir! Obrigada :)

SabrinaDias
Автор

I was searching for this topic, thank you for making it!

drmanasdash
Автор

It's really useful to me. Thanks a lot! 👍

rajanjoseph
Автор

The best explanation I've gotten so far. Thanks.

joeng
Автор

Nicely explained change detection compared to the pros. Keep it up

sreejith
Автор

Thank you very much. The video is useful

poormancodespmc
Автор

Thank you for this clear and concise explanation.

sapnabadgujar
Автор

Thank you for doing this video... Well explained. If possible can you make a video on how to cache post/put request in pwa app using service worker.

Semma_Bore
Автор

Great Video. Could you please provide on modal popups and popups in Angular

sreenuksr
Автор

thank you so much, subscribed & liked 👍👍

mahendranath
Автор

Hi very good that you are sharing your knowledge every one.

harekrishna
Автор

very good explaination. video is best at 1.5 speed (for me)

prateekbhardwaj
Автор

hello, can you tell me what's the different between markForCheck abd detectChanges?

TranNguyen-pwxo
Автор

this was ok you could have explained reattach and checkNoChanges methods in usage of changeDetectetorRef

mounicanagasri
Автор

This was a blessing. Man, please teach us how to develop and write professional Angular application.

amguruprasath
Автор

You should explain the code first. If we see only parent child printed in console, how can we understand

Karthikp
Автор

on puss... wow I struggeled to understand that this meant on PUSH...
anyway so what to do with the array.push you didn't explain the last part
should we do the markForCheck again?

thanks

mabos
Автор

Pl upload some videos regarding angular lifecycle

sasidarans
Автор

note that this strategy applies to all child directives and cannot be overridden so that's why when apply to parent we no longer get the changes

abdullahtahan