codelyzer
codelyzer copied to clipboard
about no-conflicting-life-cycle-hooks
no-conflicting-life-cycle-hooks should prevents this:
Note that 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.
Currently, it doesn't seem to be the case. We just check if we use the both hooks in same time.