Registry / github

github/awesome-copilot/react18-class-surgeon

Class component migration specialist for React 16/17 → 18.3.1. Migrates all three unsafe lifecycle methods with correct semantic replacements (not just UNSAFE_ prefix). Migrates legacy context to createContext, string refs to React.createRef(), findDOMNode to direct refs, and ReactDOM.render to createRoot. Uses memory to checkpoint per-file progress.

AI agent · version 0.0.0-main.1793927899.g9654314 · from github/awesome-copilot

Install

npx yarkr-cli add agent:github/awesome-copilot/react18-class-surgeon

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add agent:github/awesome-copilot/react18-class-surgeon
wget -qO- https://yarkr.com/install.sh | sh -s -- add agent:github/awesome-copilot/react18-class-surgeon

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add agent:github/awesome-copilot/react18-class-surgeon

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.