SkillπEnglish
THE SKILL DIRECTORY

技能目录

从你要完成的任务出发,发现 Agent 技能。查看原始来源、了解使用说明,再选择下一步。

1 条技能 · 跨文件清除筛选 ×
deepskill授权

React 旧版 Context 迁移

提供从 React 旧版 Context API(contextTypes、childContextTypes、getChildContext)迁移到现代 createContext API 的完整模式。当迁移类组件中的旧版 Context 时使用;这始终是跨文件迁移,需要同时更新提供者与全部消费者。在修改任何 contextTypes 或 childCon

ai-labReactContext API代码迁移类组件跨文件前端开发
↓ 0👍 0
◇ 来源证据已核对↗