codelyzer icon indicating copy to clipboard operation
codelyzer copied to clipboard

about no-conflicting-life-cycle-hooks

Open wKoza opened this issue 6 years ago • 0 comments

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.

wKoza avatar Apr 29 '18 09:04 wKoza