Angular Performance Tips - Staying Outside of the NG Zone

preview_player
Показать описание
Table of Contents:

00:00 - CSS conversion complete
00:29 - Add DoCheck lifecycle
00:58 - Struck by change detection reality
01:21 - Let's identify the culprit
02:04 - Let's explore possible improvements
02:14 - Listening to scroll event is expensive
02:31 - RxJs to the rescue to handle the scroll
03:19 - Refactor the window event listeners
03:56 - Merge all events into one stream
04:56 - Subscribe to the new stream
05:30 - Scroll event is under control now
05:50 - Let's get out of the Ng Zone
Рекомендации по теме
Комментарии
Автор

I just found this video. Quite impressive. How's the course coming along?

scottfwalter
Автор

when ngDocheck fires, it does not mean that change detection runs Definitely

YanLoonG
Автор

could share Source code please ? github repository this project?

jonathasborges