Add a guide on using OnPush change detection strategy
docs: add a guide on using OnPush change detection strategy (#45880)
Add a guide on using OnPush change detection strategyb96855-docs-add-a-guide-on-using-onpushdocsadd guide using onpush change detection
Committed by mgechev
commit message
docs: add a guide on using OnPush change detection strategy (#45880)
Explain how to use OnPush change detection strategy and what are the
different edge cases. Looks into several different scenarios and covers
the behavior of OnPush for each one of them.
PR Close #45880Editor assessment
The subject announces a new OnPush change-detection guide unambiguously, and the body sketches its contents — usage, edge cases, and several scenarios with per-scenario behavior — giving a reader a real preview of coverage. Type `docs` is exact; the absent scope is tolerable for guides that span the documentation tree. Footers are the single well-formed `PR Close #45880` trailer. Style is clean: imperative `add`, no trailing period, reasonable length, no junk. What keeps this from exemplary is that the body enumerates topics rather than explaining motivation or trade-offs — why this guide was needed is left unstated — but as a publishable example it is solid.