Change Detection DemosGitHub

AsyncPipe & OnPush

OnPush With Async Pipe

Each emitted value marks the component for CD
Miss Mariam Keeling533dc16c-378e-4e96-bc2e-0eee938b2f8a
HeroCardAsyncPipeOnPush
HeroDetailsComponent

OnPush Without Async Pipe

Observable interval inside the component does not trigger CD
Oleta Kassulke6b1469e2-17b8-480a-937b-e93c3066dfe6
HeroCardAsyncPipeOnPush
HeroDetailsComponent
Built with ♥ by Mokkapps | Source Code