react18-legacy-context
Skill · community · v0.1.0
unsigned
⬇ imported
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.
Namespace
community
Name
react18-legacy-context
Version
0.1.0
Kind
Skill
Trust
unsigned
REST URL
Source repo
Owner
github
Commit
541b7819d8c3545c6df122491af4fa1eae415779
Imported at
2026-05-18T20:05:35Z
Versions
Files