79497651

Date: 2025-03-10 10:10:28
Score: 2
Natty:
Report link

Create a state as isListUpdate with initial value 0. Now, in useEffect block, check if state changes re render the component and again set isListUpdate to 0. You should get the result with this.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ragini Jaiswal