upgrading-react-native

We need to translate the given English text into German. The text describes an agent skill for upgrading React Native. We must preserve the name "upgrading-react-native" but it's not in the text, so we don't include it. We translate the text inside <text> only. No extra labels or commentary. Keep technical terms like React Native, rn-diff-purge, CocoaPods, Gradle, Expo SDK, etc. Translate naturally. The text: "Orchestrates React Native version upgrades with template diffs, dependency resolution, and native platform migration. Applies canonical rn-diff-purge template diffs to align native iOS and Android configuration with target React Native versions Handles package.json dependency updates, CocoaPods and Gradle changes, and breaking API migrations across major and minor version bumps Includes Expo SDK upgrade layer for managed Expo projects and post-upgrade verification checklist Provides..." Note: There is a missing period after "versions" and before "Handles". Also "Provides..." seems cut off. We'll translate as given. German translation

npx skills add https://github.com/callstackincubator/agent-skills --skill upgrading-react-native

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

  1. Route: Choose the right upgrade path via upgrading-react-native.md
  2. Diff: Fetch the canonical template diff using Upgrade Helper via upgrade-helper-core.md
  3. Dependencies: Assess and update third-party packages via upgrading-dependencies.md
  4. React: Align React version if upgraded via react.md
  5. Expo (if applicable): Apply Expo SDK layer via expo-sdk-upgrade.md
  6. 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 build

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

FileDescription
upgrading-react-native.mdRouter: choose the right upgrade path
upgrade-helper-core.mdCore Upgrade Helper workflow and reliability gates
upgrading-dependencies.mdDependency compatibility checks and migration planning
react.mdReact and React 19 upgrade alignment rules
expo-sdk-upgrade.mdExpo SDK-specific upgrade layer (conditional)
upgrade-verification.mdPost-upgrade verification checklist, including agent-device-assisted checks
monorepo-singlerepo-targeting.mdMonorepo and single-repo app targeting and command scoping

Problem → Skill Mapping

ProblemStart With
Need to upgrade React Nativeupgrade-helper-core.md
Need dependency risk triage and migration optionsupgrading-dependencies.md
Need React/React 19 package alignmentreact.md
Need workflow routing firstupgrading-react-native.md
Need Expo SDK-specific stepsexpo-sdk-upgrade.md
Need manual or agent-assisted regression validationupgrade-verification.md
Need repo/app command scopingmonorepo-singlerepo-targeting.md

Mehr Skills von callstackincubator

agent-device
callstackincubator
Automatisieren Sie iOS- und Android-App-Interaktionen mit Snapshot-basierter Erkennung und selektorgesteuerter Wiedergabe. Unterstützt iOS-Simulatoren/-Geräte und Android-Emulatoren/-Geräte mit sitzungsgebundener Automatisierung, Multi-Tenant-Remote-Daemon-Modus und Gerätebereichsisolierung für QA-Workflows. Kernbefehle: Snapshot für UI-Erkennung mit Referenzen, Press / Fill / Scroll für Interaktionen, Open / Close für den App-Lebenszyklus, Install / Reinstall für die Binärbereitstellung. Enthält Dienstprogramme für Protokollierung, Netzwerkinspektion,...
official
dogfood
callstackincubator
Systematisch eine mobile App auf iOS/Android mit Agent-Device erkunden und testen, um Bugs, UX-Probleme und andere Fehler zu finden. Verwenden, wenn aufgefordert zu dogfood, QA,…
official
react-devtools
callstackincubator
Untersuchen und Profilen von React Native-Komponentenbäumen vom Agent-Gerät aus. Verwenden für React Native-Performance, Profiling, Props, State, Hooks, Render-Ursachen, langsame…
official
react-devtools
callstackincubator
React DevTools CLI für KI-Agenten. Verwenden Sie dies, wenn der Benutzer Sie bittet, eine React- oder React Native-App zur Laufzeit zu debuggen, Komponenten-Props/State/Hooks zu inspizieren, zu diagnostizieren…
official
github
callstackincubator
GitHub-Workflow-Automatisierung über die gh CLI für Pull Requests, gestapelte PRs und Repository-Verwaltung. Bietet einen Workflow zum Zusammenführen gestapelter PRs: Squash-Merge des ersten PRs, dann Rebase und Aktualisierung des Basis-Branches für jeden nachfolgenden PR in der Kette. Enthält Konflikterkennung und manuelle Lösungsaufforderungen, um stille Fehler bei Multi-PR-Merges zu vermeiden. Deckt die wichtigsten gh CLI-Operationen ab: PR-Erstellung, Statusprüfungen, Squash/Rebase-Merging und Branch-Verwaltung. Optimiert für geringen Kontextverbrauch durch Nutzung der gh CLI...
official
github-actions
callstackincubator
GitHub Actions-Workflow-Muster für React Native iOS-Simulator- und Android-Emulator-Cloud-Builds mit herunterladbaren Artefakten. Verwenden Sie dies beim Einrichten von CI-Builds…
official
react-native-best-practices
callstackincubator
Strukturierte Leistungsoptimierungsreferenz für React Native-Apps, die FPS, Bundle-Größe, TTI und Speicher abdeckt. Organisiert in 9 JavaScript/React-Leitfäden (Profiling, Listen, Animationen, Speicher), 9 native Optimierungsleitfäden (Turbo Modules, Threading, Profiling) und 9 Bundling-Leitfäden (Tree Shaking, Code Splitting, Größenanalyse). Jede Referenz folgt einem hybriden Format mit schnellen Mustern/Befehlen, Auswirkungsbewertungen (KRITISCH/HOCH/MITTEL) und ausführlichen Erklärungen mit Voraussetzungen und allgemeinen...
official
react-native-brownfield-migration
callstackincubator
Bietet eine inkrementelle Einführungsstrategie zur Migration nativer iOS- oder Android-Apps zu React Native oder Expo unter Verwendung von @callstack/react-native-brownfield für die anfängliche…
official