Skip to content

Claude Desktop/Web: Severe UI performance regression due to infinite React render loop in skills system #4896

Closed as not planned

Description

@hl9020

Problem Summary

Claude Desktop and Claude Web become unusable after 4-5 messages in a conversation due to severe UI lag (1-2 second input delay, scroll stuttering). Multiple users report this issue started around July 30, 2025.

Technical Root Cause

Infinite React render loop triggered by failing API call to skills system:

GET /mnt/skills/all_skills.json → 404 Not Found
→ useEffect() triggers retry → component re-renders → new GET → still 404
→ loop repeats endlessly (1000+ times per session)

Impact

  • Input lag: 500-2000ms delay before letters appear
  • UI performance: Scroll and interaction stutter
  • Memory growth: Constant heap inflation
  • Cross-platform: Affects both Claude Desktop (Electron) and Claude Web (Chrome/Firefox)

User Reports

Multiple users experiencing identical behavior across platforms:

  • System: Windows 11 Pro 24H2, 12-core CPU, 64GB RAM, NVMe SSD
  • System usage: <10% during lag
  • Claude Desktop version: v0.12.55 (d55c63) - build 2025-07-25T17:43:32.000Z
  • Key finding: Same lag occurs in Claude Web when opening identical chats
  • Confirmation: Second user reports conversations become "basically unusable" after certain length

Technical Analysis

Error patterns observed:

  • Sentry flood (429 Too Many Requests)
  • Auth warnings (FedCM get() rejects, Cross-Origin-Opener-Policy issues)
  • Repeated stack traces:
ux @ ...js:1
uS @ ...js:1

Cross-platform consistency:
Claude Desktop is an Electron application that loads claude.ai in a Chromium container. Both Claude Desktop and web browsers use the same Chromium rendering engine, confirming this is a frontend React issue affecting the shared codebase, not a local system problem.

Timeline Correlation

Issue appeared around July 30, 2025, coinciding with Anthropic's reported incident:

Claude.ai chats appearing out of chronological order
Resolved - Jul 30, 21:23 UTC
Investigating - Jul 30, 03:07 UTC
"We are currently investigating an issue causing some past chats to appear to have been recently updated. As a result, the chronological order of your past Claude.ai chats, including the recent chats view, may be incorrect."

This suggests the performance regression may be related to the chat ordering infrastructure changes.

Recommended Fix

Immediate:

  • Temporarily disable skills system until proper error handling implemented

Long-term:

  • Add retry limit or circuit breaker in useEffect for skills API calls
  • Implement graceful failure instead of re-render looping
  • Add proper error boundaries around skills components

Environment

  • OS: Windows 11 Pro 24H2
  • Claude Desktop: v0.12.55 (d55c63) - Electron/Chromium-based
  • Browser: Chrome v138.0.7204.183, Firefox (same behavior)
  • Timeline: Issue started around July 30, 2025

Reproduction Steps

  1. Start new conversation in Claude Desktop or Web
  2. Exchange 4-5 messages
  3. Observe increasing input lag and UI stuttering
  4. Check browser dev tools for repeated 404 errors on skills endpoint

This appears to be a critical performance regression affecting multiple users across platforms due to shared Chromium/React frontend architecture.

Activity

  1. github-actions commented on Aug 1, 2025

    @github-actions
  2. ant-kurt commented on Aug 1, 2025

    @ant-kurt
    Collaborator

    Hi - can you submit issues about Claude Desktop or web to one of these:

    • On claude.ai, click "Get help" in the bottom-left menu
    • Submit a ticket through support.anthropic.com

    This repo is specifically for Claude Code.

  3. TimePoor commented on Aug 1, 2025

    @TimePoor

    It wasn't just me
    If you exchange a few contexts, you will experience input delays
    As a result, there is a problem that leads to performance degradation
    I hope this will be resolved

  4. thehe commented on Aug 7, 2025

    @thehe

    +1

  5. zachm777 commented on Aug 10, 2025

    @zachm777

    +1

  6. syntaxapproval commented on Aug 12, 2025

    @syntaxapproval

    +1

  7. segiITU commented on Aug 14, 2025

    @segiITU

    +1

  8. defconxt commented on Aug 21, 2025

    @defconxt

    +1

  9. ant-kurt commented on Aug 21, 2025

    @ant-kurt
    Collaborator

    Locking this issue since this is the Claude Code repo, but this issue report is for a problem with Claude Desktop / Claude Web. As a reminder, issues in those products can be submitted through either of:

    • On claude.ai, click "Get help" in the bottom-left menu
    • Submit a ticket through support.anthropic.com

    If you find an issue with Claude Code, please open a new issue here.

  10. locked as off topic and limited conversation to collaborators on Aug 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions