github/awesome-copilot/react18-batching-patterns
Provides exact patterns for diagnosing and fixing automatic batching regressions in React 18 class components. Use this skill whenever a class component has multiple setState calls in an async method, inside setTimeout, inside a Promise .then() or .catch(), or in a native event handler. Use it before writing any flushSync call - the decision tree here prevents unnecessary flushSync overuse. Also use this skill when fixing test failures caused by intermediate state assertions that break after Rea
Agent skill · version 0.0.0-main.1793929459.g9654314 · from github/awesome-copilot
Install
npx yarkr-cli add skill:github/awesome-copilot/react18-batching-patternsWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:github/awesome-copilot/react18-batching-patterns
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:github/awesome-copilot/react18-batching-patternsOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:github/awesome-copilot/react18-batching-patternsWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.