[BUG] Minified React error #310 - Rendered more hooks than during the previous render

Resolved 💬 3 comments Opened Dec 18, 2025 by maarteek Closed Dec 22, 2025

Description

Claude Code VSCode extension repeatedly crashes with React error #310.

Error Message

Failed to render content: Minified React error #310; visit https://reactjs.org/docs/error-decoder.html?invariant=310 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.

The decoded error is: "Rendered more hooks than during the previous render"

Frequency

Occurred 3 times in a row during normal usage.

Environment

  • Platform: Linux (WSL2)
  • OS Version: Linux 5.15.167.4-microsoft-standard-WSL2
  • Interface: VSCode extension

Steps to Reproduce

Unable to determine specific trigger - occurred during regular conversation/coding session.

Expected Behavior

UI should render without crashing.

Additional Context

This appears to be an internal React rendering issue where hook call order changes between renders.

View original on GitHub ↗

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