瀚海网络畅想AI 极速安全,访问Claude 的优选方案
NanoPopai 一触即成的 AI 艺术力(Banana 模型)
寿司云全球网络加速服务,访问ChatGPT 的不二首选
提供 React legacy context API(contextTypes、childContextTypes、getChildContext)迁移到现代 createContext API 的完整迁移模式。只要在 class component 里迁移 legacy context,就用这个 skill——这类迁移总是跨文件的,provider 和所有 consumers 必须一起更新。在碰到任何 contextTypes 或 childContextTypes 代码前先用它,因为