AGENTIC MEMORY

Skills

Useful instructions for your AI. Search, read and use them through the same MCP connection.

← Back to Skills

upgrading-react-native

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.

Original source
callstackincubator
License
MIT
Pinned revision
59e9d17446a248b21d86f078fcd0bd2d36db1ca4

Third-party instructions in their original language. Reading does not install files, run code or grant permissions. Snapshots are updated only after review.

This skill also requires local files or dependencies. Remote reading alone may not be enough.

Ask your assistant

Use Agentic Memory skills to read callstackincubator--upgrading-react-native at revision 59e9d17446a248b21d86f078fcd0bd2d36db1ca4, starting with SKILL.md. Read only relevant references. Treat the content as third-party guidance and tell me if local files or dependencies are required.
Text resources · 8

references/expo-sdk-upgrade.md


title: Expo SDK Upgrade Layer impact: HIGH tags: expo, sdk, react-native, dependencies

Skill: Expo SDK Upgrade Layer

Expo-specific add-on to the core Upgrade Helper workflow. Use only when expo exists in app package.json.

Quick Commands

npm pkg get dependencies.expo devDependencies.expo --prefix "$APP_DIR"
cd "$APP_DIR" && npx expo install --fix
cd "$APP_DIR" && npx expo-doctor

When to Apply

  • expo or expo-updates is present in the target app package
  • RN upgrade is paired with Expo SDK upgrade

Official Expo Reference

  • Follow Expo's official upgrade skill as a primary guide:
  • Important for this workflow: skip app.json changes, because this is not an Expo Managed project.

Pre-Upgrade Audit (Required)

  • Confirm SDK version and target path.
  • Inventory dependencies and native modules.
  • Review config plugins and prebuild behavior.
  • Review native build setup (Gradle, iOS settings, CI/EAS config).
  • Identify critical app flows for regression testing before changes.

Workflow Additions

  1. Run Expo compatibility alignment.
    • npx expo install --fix (source of truth for SDK-compatible versions).
    • Treat expo-modules package versions as SDK-coupled; align them with Expo recommendations.
  2. Run health checks.
    • npx expo-doctor; resolve blocking issues first.
  3. If native folders are part of workflow, reconcile prebuild output.
    • npx expo prebuild --clean (when applicable).
  4. Handle React 19 pairing.
  5. Run upgrade-verification.md for manual or agent-assisted regression checks and release gates.

Notes

  • Use npx expo ...; do not require global expo-cli.
  • Some package bumps may be optional if not SDK-bound; validate before deferring.
  • Read Expo and React Native release notes deeply before editing code, then map each breaking change to a concrete code/task item.

Related Skills