Actions
Bug #12829
openMaximum Update Depth Exceeded Warning in DeviceOperations
Status:
Implementation
Priority:
High
Assignee:
-
Start date:
15/05/2025
Due date:
19/05/2025 (18 days late)
% Done:
0%
Estimated time:
5:00 h
Device Type:
Component:
Device-Mgt-UI
Type:
UI
QA Start Time:
QA Due Time:
QA Estimated Time(Hours):
Description
Environment details
Local server 6.4.0
Prerequisites
Enroll a device
- Go to single device view
- switch to operation log or status and information tab
- Open the browser console
- Observe the warning: "Maximum update depth exceeded"
- Expected Behavior : The component should render without triggering excessive re-renders.
- Actual Behavior : The component enters a render-update loop, leading to performance issues.
- This issue is not encountered in staging environment, only in the local environment.
Possible Cause: A useEffect without a dependency array or with a dependency that continuously updates / A state update inside useEffect that triggers a re-render, causing another state update.
Suggested Fix: Verify if the useEffect dependency array is correctly defined / Ensure that setState inside useEffect is not causing an infinite loop. The component may be EntgraDangerZoneTooltip
Files
Actions