React’s useEffect hook can lead to tricky situations. If you’re not careful it can cause unnecessary executions of the effect or even infinite re-r...
For further actions, you may consider blocking this person and/or reporting abuse
Option 1 should be to cleanup the dirty state with the built-in useMemo hook:
Problem solved 😁