Loading topic
@Input or input() passes data from parent to child. The chapter explains what Angular stores for each binding and what it compares during a 6 min readsetTimeout and promises. It explains how Angular finds out that something may have changed, so it knows when to run change detection.5 min read@for, input() and signals. Here you will see what the Default strategy does, why it is correct but expensive, and which6 min readOnPush decides whether to check a component, what marks one dirty, and the mistakes that leave a view stale.5 min readChangeDetectorRef offers, when each method is 6 min readasync pipe keeps an OnPush component up to date without a manual markForCheck() call. It also covers how the pipe manages subscriptions and the mistakes that break it. It assumes you know OnPush, input reference checks and ChangeDetectorRef.markForCheck() from the5 min readmarkForCheck from the earlier chapters. It also assumes you can read basic signal syntax: signal(), .set(), .update(), and reading with count().5 min readngOnInit and ngAfterViewInit, and the order in which Angular checks a component tree. It builds on the previous chapters about the change detection cycle and the Default and OnPush strategies.5 min readNgZone is, and how the default and OnPush strategies decide which components to check. It also assumes you are comfortable with addEventListener, setTimeout, and `requestAnimation5 min readmarkForCheck marks a component and its ancestors dirty, and how signals are read in templates. It also assumes you know what Zone.js does in the standard setup: it patches browser APIs so Angular learns that "something may have c6 min readmarkForCheck works, how signals mark a component for checking, and how Zone.js triggers a cycle. It shows how to measure change detection in a running app, so your tuning is based on evidence.6 min read