Upgrading React Native
CallstackOfficialPublished by Callstack
- Skill
- Workflow
- Software development
- MIT
- No issues found
AutoGineer summary
Written by AutoGineer from the skill’s own files, not by the author
This skill provides a structured, multi-step procedure for upgrading React Native applications to newer versions. It covers the entire lifecycle of an upgrade, from selecting the correct path and fetching template diffs to managing dependency compatibility, aligning React versions, and performing post-upgrade verification. It includes specific guidance for handling native iOS and Android configuration changes, resolving CocoaPods and Gradle issues, and integrating Expo SDK upgrades where applicable.
What it does
- Guides users through the complete React Native upgrade sequence.
- Facilitates fetching and applying canonical template diffs.
- Assists in assessing and updating third-party dependencies.
- Provides instructions for Expo SDK-specific upgrade layers.
- Includes steps for post-upgrade verification and build validation.
- Defines scoping rules for monorepo and single-repo project structures.
When to use it
- When moving a React Native application to a newer version.
- When reconciling native configuration changes after a version bump.
- When migrating an Expo SDK version alongside a React Native upgrade.
- When validating release notes for breaking changes.
- When managing dependency compatibility during an upgrade.
Advantages
- Provides a standardized, repeatable process for complex upgrades.
- Reduces manual error by offering clear routing and verification steps.
- Supports both standard React Native and Expo-managed workflows.
- Ensures native platform configurations are correctly reconciled.
- Includes specific guidance for monorepo environments.
Usage examples
- “How do I start upgrading my React Native app from version 0.76.9 to 0.78.2?”
- The agent will guide you to fetch the template diff using the Upgrade Helper, update your package.json, reconcile native changes, and run build verification.
- “I need to upgrade my Expo-based React Native app, what should I do?”
- The agent will provide the Expo SDK upgrade layer workflow, including running expo-doctor and aligning expo-modules.
Install
Download the skill as a ZIP:
https://autogineer.com/agent-skills/callstackincubator/upgrading-react-native/downloadUnzip it into the cross-client skills folder of your project:
mkdir -p .agents/skills && unzip upgrading-react-native.zip -d .agents/skills
Documentation by Callstack
Upgrading React Native
Overview
Covers the full React Native upgrade workflow: template diffs via Upgrade Helper, dependency updates, Expo SDK steps, and common pitfalls.
Typical Upgrade Sequence
Route: Choose the right upgrade path via upgrading-react-native.md
Diff: Fetch the canonical template diff using Upgrade Helper via upgrade-helper-core.md
Dependencies: Assess and update third-party packages via upgrading-dependencies.md
React: Align React version if upgraded via react.md
Expo (if applicable): Apply Expo SDK layer via expo-sdk-upgrade.md
Verify: Run post-upgrade checks via upgrade-verification.md
# Quick start: detect current version and fetch diff
npm pkg get dependencies.react-native --prefix "$APP_DIR"
npm view react-native dist-tags.latest
# Example: upgrading from 0.76.9 to 0.78.2
# 1. Fetch the template diff
curl -L -f -o /tmp/rn-diff.diff \
"https://raw.githubusercontent.com/react-native-community/rn-diff-purge/diffs/diffs/0.76.9..0.78.2.diff" \
&& echo "Diff downloaded OK" || echo "ERROR: diff not found, check versions"
# 2. Review changed files
grep -n "^diff --git" /tmp/rn-diff.diff
# 3. Update package.json, apply native changes, then install + rebuild
npm install --prefix "$APP_DIR"
cd "$APP_DIR/ios" && pod install
# 4. Validate: both platforms must build successfully
npx react-native build-android --mode debug --no-packager
xcodebuild -workspace "$APP_DIR/ios/App.xcworkspace" -scheme App -sdk iphonesimulator buildWhen 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 | Post-upgrade verification checklist, including agent-device-assisted checks |
| 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 or agent-assisted regression validation | upgrade-verification.md |
| Need repo/app command scoping | monorepo-singlerepo-targeting.md |
Files
- ATTRIBUTION.mdAdded by AutoGineer863 B
- LICENSELicence file added by AutoGineer1.1 KiB
- SKILL.md4.1 KiB
- agents/openai.yaml248 B
- references/expo-sdk-upgrade.md2.5 KiB
- references/monorepo-singlerepo-targeting.md1.0 KiB
- references/react.md1.5 KiB
- references/upgrade-helper-core.md6.5 KiB
- references/upgrade-verification.md2.4 KiB
- references/upgrading-dependencies.md2.2 KiB
- references/upgrading-react-native.md2.7 KiB
references/upgrade-verification.md
title: Upgrade Verification impact: HIGH tags: verification, regression, android, ios, navigation
Skill: Upgrade Verification
Manual and agent-assisted validation checklist after React Native and/or Expo upgrades.
Scope
Focus on behavior and UX regressions that static diffs cannot prove.
Keep checks small, repeatable, and tied to critical user flows.
Agent-Assisted Checks
Use agent-device for runnable app verification. If it is missing and device verification is needed, install it through the environment's approved/trusted path or ask the user to install or enable it.
If the agent environment exposes an
agent-deviceskill, read it before planning exact commands.If the
agent-deviceCLI is available, follow itsagent-device help workflowguidance.Open or install the upgraded app, drive each critical scenario, and verify with UI snapshots.
Capture screenshots, logs, and pass/fail evidence for changed flows.
Fall back to human validation for credentials, physical-device-only hardware, or profiler surfaces the agent cannot inspect.
Behavior Checks (Required)
App launch and core journeys work on both iOS and Android.
Navigation behavior is correct (forward/back stack, params, deep links, modal flows).
Android edge-to-edge is visually correct (status bar, nav bar, safe area insets, keyboard overlays).
Permissions and device APIs work (camera, location, notifications, file/media access).
Background/restore paths work (app resume, push open, interrupted flows).
Build and Test Gates
Run unit/integration tests and fix all upgrade-related failures.
If
target_version >= 0.81and tests fail due to missing modules, add proper mocks.Example (
BackHandlermock removal): https://github.com/facebook/react-native/issues/52667#issuecomment-3094788618
Build installable artifacts for both platforms.
For Expo apps, run
npx expo-doctorfrom expo-sdk-upgrade.md.
Evidence to Capture
Screen recordings/screenshots for changed flows.
List of verified scenarios and pass/fail status.
Follow-up fixes for any observed regressions.
Related Skills
upgrading-react-native.md - Upgrade workflow router
upgrade-helper-core.md - Core RN diff/merge workflow
expo-sdk-upgrade.md - Expo-specific checks and commands
react.md - React-specific upgrade rules
Requirements and compatibility
Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta
“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.
Needs: Needs Node.js
Security
No issues found by our static scan· No issues found
A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.
Attribution and licence
- Published by
- Callstack
- Publisher
- Callstack (Official)
- Source
- callstackincubator/agent-skills · skills/upgrading-react-native · commit 59e9d17
- Licence
- MIT License (redistribution allowed)
- LICENSE (added by AutoGineer from LICENSE)
- ATTRIBUTION.md (written by AutoGineer)
- Synced
AutoGineer is not affiliated with or endorsed by Callstack or Callstack.
Download ZIP
The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download upgrading-react-native.zip