← Building React Native AppsCONTENT HISTORY

Update to Building React Native Apps

Snapshot Sep 30, 2026 · 23:14 UTC · version 0.2.0

Collection source: not recorded for this historical snapshot.

WHAT CHANGED · RULE-BASED ANALYSIS

First saved snapshot

No earlier snapshot is available to establish a change.

Compare saved observations

Download comparison JSON
Full technical diff · 0 changed fields
Full snapshot data
{
  "name": "upgrading-react-native",
  "description": "Upgrades React Native apps to newer versions by applying rn-diff-purge template diffs, updating package.json dependencies, migrating native iOS and Android configuration, resolving CocoaPods and Gradle changes, and handling breaking API updates. Use when upgrading React Native, bumping RN version, updating from RN 0.x to 0.y, or migrating Expo SDK alongside a React Native upgrade.",
  "included_files": [
    {
      "relative_path": "agents/openai.yaml",
      "size_in_bytes": 248
    },
    {
      "relative_path": "references/expo-sdk-upgrade.md",
      "size_in_bytes": 2579
    },
    {
      "relative_path": "references/monorepo-singlerepo-targeting.md",
      "size_in_bytes": 1074
    },
    {
      "relative_path": "references/react.md",
      "size_in_bytes": 1582
    },
    {
      "relative_path": "references/upgrade-helper-core.md",
      "size_in_bytes": 6607
    },
    {
      "relative_path": "references/upgrade-verification.md",
      "size_in_bytes": 2486
    },
    {
      "relative_path": "references/upgrading-dependencies.md",
      "size_in_bytes": 2244
    },
    {
      "relative_path": "references/upgrading-react-native.md",
      "size_in_bytes": 2807
    }
  ],
  "skill_md_contents": "---\nname: upgrading-react-native\ndescription: Upgrades React Native apps to newer versions by applying rn-diff-purge template diffs, updating package.json dependencies, migrating native iOS and Android configuration, resolving CocoaPods and Gradle changes, and handling breaking API updates. Use when upgrading React Native, bumping RN version, updating from RN 0.x to 0.y, or migrating Expo SDK alongside a React Native upgrade.\nlicense: MIT\n---\n\n# Upgrading React Native\n\n## Overview\n\nCovers the full React Native upgrade workflow: template diffs via Upgrade Helper, dependency updates, Expo SDK steps, and common pitfalls.\n\n## Typical Upgrade Sequence\n\n1. **Route**: Choose the right upgrade path via [upgrading-react-native.md][upgrading-react-native]\n2. **Diff**: Fetch the canonical template diff using Upgrade Helper via [upgrade-helper-core.md][upgrade-helper-core]\n3. **Dependencies**: Assess and update third-party packages via [upgrading-dependencies.md][upgrading-dependencies]\n4. **React**: Align React version if upgraded via [react.md][react]\n5. **Expo** (if applicable): Apply Expo SDK layer via [expo-sdk-upgrade.md][expo-sdk-upgrade]\n6. **Verify**: Run post-upgrade checks via [upgrade-verification.md][upgrade-verification]\n\n```bash\n# Quick start: detect current version and fetch diff\nnpm pkg get dependencies.react-native --prefix \"$APP_DIR\"\nnpm view react-native dist-tags.latest\n\n# Example: upgrading from 0.76.9 to 0.78.2\n# 1. Fetch the template diff\ncurl -L -f -o /tmp/rn-diff.diff \\\n  \"https://raw.githubusercontent.com/react-native-community/rn-diff-purge/diffs/diffs/0.76.9..0.78.2.diff\" \\\n  && echo \"Diff downloaded OK\" || echo \"ERROR: diff not found, check versions\"\n# 2. Review changed files\ngrep -n \"^diff --git\" /tmp/rn-diff.diff\n# 3. Update package.json, apply native changes, then install + rebuild\nnpm install --prefix \"$APP_DIR\"\ncd \"$APP_DIR/ios\" && pod install\n# 4. Validate: both platforms must build successfully\nnpx react-native build-android --mode debug --no-packager\nxcodebuild -workspace \"$APP_DIR/ios/App.xcworkspace\" -scheme App -sdk iphonesimulator build\n```\n\n## When to Apply\n\nReference these guidelines when:\n- Moving a React Native app to a newer version\n- Reconciling native config changes from Upgrade Helper\n- Validating release notes for breaking changes\n\n## Quick Reference\n\n| File | Description |\n|------|-------------|\n| [upgrading-react-native.md][upgrading-react-native] | Router: choose the right upgrade path |\n| [upgrade-helper-core.md][upgrade-helper-core] | Core Upgrade Helper workflow and reliability gates |\n| [upgrading-dependencies.md][upgrading-dependencies] | Dependency compatibility checks and migration planning |\n| [react.md][react] | React and React 19 upgrade alignment rules |\n| [expo-sdk-upgrade.md][expo-sdk-upgrade] | Expo SDK-specific upgrade layer (conditional) |\n| [upgrade-verification.md][upgrade-verification] | Post-upgrade verification checklist, including agent-device-assisted checks |\n| [monorepo-singlerepo-targeting.md][monorepo-singlerepo-targeting] | Monorepo and single-repo app targeting and command scoping |\n\n## Problem → Skill Mapping\n\n| Problem | Start With |\n|---------|------------|\n| Need to upgrade React Native | [upgrade-helper-core.md][upgrade-helper-core] |\n| Need dependency risk triage and migration options | [upgrading-dependencies.md][upgrading-dependencies] |\n| Need React/React 19 package alignment | [react.md][react] |\n| Need workflow routing first | [upgrading-react-native.md][upgrading-react-native] |\n| Need Expo SDK-specific steps | [expo-sdk-upgrade.md][expo-sdk-upgrade] |\n| Need manual or agent-assisted regression validation | [upgrade-verification.md][upgrade-verification] |\n| Need repo/app command scoping | [monorepo-singlerepo-targeting.md][monorepo-singlerepo-targeting] |\n\n[upgrading-react-native]: references/upgrading-react-native.md\n[upgrade-helper-core]: references/upgrade-helper-core.md\n[upgrading-dependencies]: references/upgrading-dependencies.md\n[react]: references/react.md\n[expo-sdk-upgrade]: references/expo-sdk-upgrade.md\n[upgrade-verification]: references/upgrade-verification.md\n[monorepo-singlerepo-targeting]: references/monorepo-singlerepo-targeting.md\n"
}

SHA-256: deeb756497ed8b5fee209c9fd6fdc092b6763fcd2b5142dc1b160af2cad1eb38