React Docs
Learn
Guides
Reference
Explanation
Examples
Community
⌘K
Sections
Sections
Learn
Guides
Reference
Explanation
Examples
Community
🇨🇳
简体中文
指南
升级
Upgrade
升级不是一次性任务,而是一套流程:评估影响、分批迁移、回滚预案与验证策略。
TL;DR
先升级工具链与类型,再升级运行时依赖,最后处理行为变化。
用 CI 锁住关键路径:lint、类型检查、构建、关键页面冒烟。
保持可回滚:不要把多个不可分割的改动堆在一次发布。
这篇文章有帮助吗?
有帮助
没帮助
Previous / Next
Previous
Debugging
Related Links
Reference:API 细节对照
Learn:快速上手与基础概念
Examples:用代码验证理解