Skip to main content
Manus에서 모든 스킬 실행
원클릭으로

react-strict-mode-async-race-condition

스타0
포크0
업데이트2026년 3월 4일 17:08

Fix state regression bugs caused by React Strict Mode double-execution racing with async operations (API fetches, WebSocket connections). Use when: (1) UI gets stuck in a loading/connecting state in dev but works in production, (2) a state setter overwrites a more advanced state with a stale value, (3) an effect consumes a one-time resource (memory store, one-time token) on first mount leaving the second mount to fall through to a slower async path. The fix uses React functional state updaters to prevent phase/state regression.

설치

Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.

SKILL.md
readonly