Registry / github

github/awesome-copilot/react18-lifecycle-patterns

Provides exact before/after migration patterns for the three unsafe class component lifecycle methods - componentWillMount, componentWillReceiveProps, and componentWillUpdate - targeting React 18.3.1. Use this skill whenever a class component needs its lifecycle methods migrated, when deciding between getDerivedStateFromProps vs componentDidUpdate, when adding getSnapshotBeforeUpdate, or when fixing React 18 UNSAFE_ lifecycle warnings. Always use this skill before writing any lifecycle migration

Agent skill · version 0.0.0-main.1793929460.g9654314 · from github/awesome-copilot

Install

npx yarkr-cli add skill:github/awesome-copilot/react18-lifecycle-patterns

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

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:github/awesome-copilot/react18-lifecycle-patterns
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:github/awesome-copilot/react18-lifecycle-patterns

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:github/awesome-copilot/react18-lifecycle-patterns

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