Loading topic
@Input, and that you know the difference between mutating an object and replacing it. It also assumes that Zone.js notifies Angular after events, timers and HTTP calls, as the previous chapter covered. Here you wi6 min readChangeDetectionStrategy.OnPush. It explains what the setting changes, how to turn it on, and how it affects lifecycle hook6 min read@Input bindings, know how to enable ChangeDetectionStrategy.OnPush on a component, and understand that JavaScript objects and arrays are passed by reference. The chapter explains how Angular decides that an input has changed. It also shows how t7 min readChangeDetectionStrategy.OnPush and on what marks an OnPush component for checking. You should also know the difference between a cold Observable (one that starts work per su6 min readChangeDetectorRef. You should know what markForCheck() does and why input mutation leaves an OnPush child stale. Examples target Angu6 min readChangeDetectionStrategy.OnPush. It assumes you can write basic Angular tests with TestBed and Jasmine or Jest, that you have read the earlier chapters on OnPush triggers, immutable inputs, the async pipe, ChangeDetectorRef and6 min readmarkForCheck, the async pipe8 min read