Public skill / source-pinned
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.
Agent SkillGitHub sourceDigest checked
Package / manifest
The exact contents,
before install.
- Source
- github/awesome-copilot ↗
- Content SHA
c5bbe4ebe9155ce7…- Package digest
78a4b7f51dccd99c…- Download size
- 4.8 KB