Open
Description
Problem Description
DsDynamicFormControlContainerComponent
implements both DoCheck
and OnChanges
:
Implementing both lifecycle hooks in a component triggers an ESLint warning: Implementing DoCheck and OnChanges in a class is not recommended.
OnChanges
is triggered only when @Input()
properties change, making it more efficient. DoCheck
runs on every change detection cycle, which can lead to unnecessary performance overhead. Using both together can cause redundant checks and inefficiencies.
Metadata
Metadata
Assignees
Type
Projects
Status
📋 To Do