Project

General

Profile

Actions

Bug #12829

open

Maximum Update Depth Exceeded Warning in DeviceOperations

Added by Thilina Sandaruwan 16 days ago. Updated 2 days ago.

Status:
New
Priority:
High
Assignee:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Device Type:
Component:
Device-Mgt-UI
Type:
UI

Description

Environment details
Local server 6.4.0

Prerequisites
Enroll a device

Steps
  • 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"
Description
  • 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 #1

Updated by Rajitha Kumara 2 days ago

  • Project changed from product-uem 6.4.0 GA to product-uem 7.0.0 GA
Actions

Also available in: Atom PDF