-
Notifications
You must be signed in to change notification settings - Fork 504
Open
Labels
bugcode taskcomponent: submissionhelp wantedNeeds a volunteer to claim to move forwardNeeds a volunteer to claim to move forward
Description
Problem Description
DsDynamicFormControlContainerComponent implements both DoCheck and OnChanges:
Line 320 in 0649342
| ngDoCheck() { |
Line 308 in 0649342
| ngOnChanges(changes: SimpleChanges) { |
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
Labels
bugcode taskcomponent: submissionhelp wantedNeeds a volunteer to claim to move forwardNeeds a volunteer to claim to move forward
Type
Projects
Status
📋 To Do