Skip to content

Files

Latest commit

 

History

History
11 lines (6 loc) · 391 Bytes

no-conflicting-lifecycle.md

File metadata and controls

11 lines (6 loc) · 391 Bytes

Pattern: Use of conflicting lifecycles

Issue: -

Description

A directive typically should not use both DoCheck and OnChanges to respond to changes on the same input, as ngOnChanges will continue to be called when the default change detector detects changes.

Further Reading