github/awesome-copilot/react18-batching-fixer
Automatic batching regression specialist. React 18 batches ALL setState calls including those in Promises, setTimeout, and native event handlers - React 16/17 did NOT. Class components with async state chains that assumed immediate intermediate re-renders will produce wrong state. This agent finds every vulnerable pattern and fixes with flushSync where semantically required.
AI agent · version 0.0.0-main.1793927898.g9654314 · from github/awesome-copilot
Install
npx yarkr-cli add agent:github/awesome-copilot/react18-batching-fixerWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add agent:github/awesome-copilot/react18-batching-fixer
wget -qO- https://yarkr.com/install.sh | sh -s -- add agent:github/awesome-copilot/react18-batching-fixerOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add agent:github/awesome-copilot/react18-batching-fixerWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.