React error #185: Maximum update depth exceeded

Resolved 💬 3 comments Opened Feb 12, 2026 by dheeraj5612 Closed Feb 16, 2026

Description

Encountering a React error #185 ("Maximum update depth exceeded") crash during usage. This indicates an infinite re-render loop in the UI layer.

Error

ERROR  Minified React error #185; visit https://react.dev/errors/185 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.

Full error message: Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.

Stack Trace

- RA (B:/~BUN/root/claude.exe:675:16354)
- tI (B:/~BUN/root/claude.exe:675:15861)
- L_ (B:/~BUN/root/claude.exe:675:32008)
- Mf (B:/~BUN/root/claude.exe:675:31607)
- E (B:/~BUN/root/claude.exe:1963:14812)
- <anonymous> (B:/~BUN/root/claude.exe:1963:14928)
- iA (B:/~BUN/root/claude.exe:675:62582)
- _1 (B:/~BUN/root/claude.exe:675:75523)
- Xf (B:/~BUN/root/claude.exe:675:75407)
- _1 (B:/~BUN/root/claude.exe:675:76306)

The stack trace points to minified React reconciler code within claude.exe, specifically in the state update dispatch path (Mf -> L_ -> tI -> RA).

Environment

  • OS: Windows 11 Enterprise 10.0.26100
  • Claude Code binary: claude.exe (Bun-bundled)

Notes

  • The error originates from within the bundled React runtime in claude.exe (line 675), suggesting a component is triggering state updates in a loop.
  • The RA function in the minified source corresponds to React's enqueueConcurrentHookUpdate or similar update-enqueue path, and the 50-update depth limit is being hit.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗