Some examples using property binding, component interaction and services within components running changeDetectionStrategy.onPush.
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Project created using AngularCLI
A Comprehensive Guide to Angular onPush Change Detection Strategy by @NetanelBasal
Angular change detection in action by @danielwiehl