React Native 版本升级
upgrading-react-native
React Native 升级工作流,涵盖更新的模板、依赖和常见陷阱。用于将 React Native 应用迁移到更新的版本。
- License 许可
- MIT
- 最近更新
- 2026-09-02
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- upgrading-react-native
- license
- MIT
- metadata
- { "tags": "react-native, upgrade, upgrade-helper, npm, changelog, cocoapods, ios, android", "author": "Callstack" }
- description
- React Native upgrade workflow covering updated templates, dependencies, and common pitfalls. Use when migrating a React Native app to a newer release.
02 资源文件 8
- 参考文档agents/openai.yaml248 B
- 参考文档references/expo-sdk-upgrade.md2.5 KB
- 参考文档references/monorepo-singlerepo-targeting.md1.0 KB
- 参考文档references/react.md1.5 KB
- 参考文档references/upgrade-helper-core.md6.4 KB
- 参考文档references/upgrade-verification.md1.7 KB
- 参考文档references/upgrading-dependencies.md2.2 KB
- 参考文档references/upgrading-react-native.md2.7 KB
03 SKILL.md 正文
Upgrading React Native
Overview
Covers the full React Native upgrade workflow: template diffs via Upgrade Helper, dependency updates, Expo SDK steps, and common pitfalls.
When to Apply
Reference these guidelines when:
- Moving a React Native app to a newer version
- Reconciling native config changes from Upgrade Helper
- Validating release notes for breaking changes
Quick Reference
| File | Description |
|---|---|
| upgrading-react-native.md | Router: choose the right upgrade path |
| upgrade-helper-core.md | Core Upgrade Helper workflow and reliability gates |
| upgrading-dependencies.md | Dependency compatibility checks and migration planning |
| react.md | React and React 19 upgrade alignment rules |
| expo-sdk-upgrade.md | Expo SDK-specific upgrade layer (conditional) |
| upgrade-verification.md | Manual post-upgrade verification checklist |
| monorepo-singlerepo-targeting.md | Monorepo and single-repo app targeting and command scoping |
Problem → Skill Mapping
| Problem | Start With |
|---|---|
| Need to upgrade React Native | upgrade-helper-core.md |
| Need dependency risk triage and migration options | upgrading-dependencies.md |
| Need React/React 19 package alignment | react.md |
| Need workflow routing first | upgrading-react-native.md |
| Need Expo SDK-specific steps | expo-sdk-upgrade.md |
| Need manual regression validation | upgrade-verification.md |
| Need repo/app command scoping | monorepo-singlerepo-targeting.md |
04 同仓库更多 Skills
Claude 技能规范校验
validate-skills
依据 agentskills.io 规范和 Claude Code 最佳实践校验本仓库中的技能。通过 /validate-skills 命令使用。
Expo DOM 组件跨端迁移
use-dom
使用 Expo DOM 组件在原生平台的 webview 中运行 Web 代码,并在 Web 端按原样运行。用于以增量方式将 Web 代码迁移到原生。
upgrading-expo
Guidelines for upgrading Expo SDK versions and fixing dependency issues
React Native 性能优化
react-native-best-practices
提供 React Native 性能优化指南,涵盖 FPS、TTI、bundle 体积、内存泄漏、重复渲染和动画。适用于涉及 Hermes 优化、JS 线程阻塞、bridge 开销、FlashList、原生模块或调试卡顿与掉帧的任务。
网络请求与数据获取
native-data-fetching
用于实现或调试任何网络请求、API 调用或数据获取。涵盖 fetch API、axios、React Query、SWR、错误处理、缓存策略、离线支持。
GitHub 仓库协作与 PR 管理
github
使用 gh CLI 的 GitHub 工作模式,涵盖拉取请求(PR)、堆叠式 PR、代码审查、分支策略和仓库自动化。适用于处理 GitHub PR、合并策略或仓库管理任务。