Directory / Awesome Copilot skills (GitHub) / react18-legacy-context
react18-legacy-context
Provides the complete migration pattern for React legacy context API (contextTypes, childContextTypes, getChildContext) to the modern createContext API. Use this skill whenever migrating legacy context in class components - this is always a cross-file migration requiring the provider AND all consumers to be updated together. Use it before touching any contextTypes or childContextTypes code, because migrating only the provider without the consumers (or vice versa) will cause a runtime failure. Always read this skill before writing any context migration - the cross-file coordination steps here prevent the most common context migration bugs.Description from the SKILL.md front matter.
Install
GitHub CLI v2.90+ (Copilot by default)
gh skill install github/awesome-copilot react18-legacy-contextFor Claude Code
gh skill install github/awesome-copilot react18-legacy-context --agent claude-codeFor Codex
gh skill install github/awesome-copilot react18-legacy-context --agent codexCommands follow each host's documentation (GitHub Copilot, plus Claude Code, Codex, Cursor via gh skill docs). gh skill needs GitHub CLI 2.90 or later and is in public preview.
Listed from GitHub + community contributors's catalog, not reviewed by us. Read the source before installing.
- Author
- Not stated in the source
- Source code
- github/awesome-copilot
- License
- MIT (repository license)
- Repository stars
- 40,178 for github/awesome-copilot (the whole catalog repo)
- Added to catalog
- Not tracked for this source
- Last change
- 2026-10-16 (last push to the repo)
What it contains
- Skills: 1
Similar in Software development
- acquire-codebase-knowledge (Awesome Copilot skill)
- acreadiness-assess (Awesome Copilot skill)
- acreadiness-generate-instructions (Awesome Copilot skill)
- adobe-illustrator-scripting (Awesome Copilot skill)
- agentic-eval (Awesome Copilot skill)
- ai-ready (Awesome Copilot skill)