Claude Code for React Native and Expo Apps

· 4 min read

React Native with Expo is one of the friendliest stacks for an AI coding agent. It is TypeScript, so there is a type checker; it runs from the terminal; and the models have read a great deal of React code. This post sets Claude Code up for an Expo app from the first command to a store build.

Start the project

Expo’s docs give one command and recommend its default template:

npx create-expo-app@latest

“We recommend starting with the default project created by create-expo-app.” Open the new folder and run claude. If you are deciding between stacks first, see React Native vs Flutter in 2026.

Choose development builds early

Expo Go lets you “update TypeScript/JavaScript code on your local machine and view the changes in the Expo Go app.” It is fast, but limited to the native code Expo Go includes. Expo describes a development build as “essentially your own version of Expo Go where you are free to use any native libraries,” and says it “is recommended when you want to create your own app and release to app stores.”

Switch early, before an agent adds a native library that Expo Go cannot run:

npx expo install expo-dev-client
npx expo run:ios
npx expo run:android

Write the CLAUDE.md

Run /init for a first draft, then make sure it has:

  • Commands: type check (npx tsc --noEmit), lint, tests, and how to start the app.
  • Routing: where screens live if you use Expo Router.
  • Rules: “use npx expo install for packages so versions match the SDK,” “no secrets in app code or app.json,” “every screen handles loading, empty and error states.”
  • Hands off: credentials, store submission and the signing setup.

Anthropic’s docs say CLAUDE.md is context, not enforcement, so for hard rules (such as blocking edits to .env files) add a hook. See Claude Code hooks for Flutter; the pattern is the same.

Let it check its own work

The biggest quality gain is making the agent run checks after each change. Tell it in CLAUDE.md: “After every change, run the type checker and tests, and fix failures before moving on.” Add tests for anything with logic: purchase state, form validation, data mapping. A code reviewer subagent that reads each diff catches what tests miss.

Skills worth adding

Skills load only when used, so they suit long checklists:

Building for the stores

Expo’s hosted build service “builds app binaries” for Expo and React Native projects and manages signing credentials. Its submit service uploads a build: “A submission is one upload of a build to Google Play Console or App Store Connect.” Expo notes this works from any OS, including Windows and Linux for iOS.

Typical commands:

eas build --platform all
eas submit --platform ios

Let Claude Code prepare the configuration, but run the first build and submission yourself so you see each prompt about credentials. After that, put them in CI.

Ship fixes after launch

Expo lists an update service to “address small bugs and push quick fixes directly to end users” without a new store build. Use it for JavaScript fixes only, and keep store review rules in mind: updates should not change what the app is.

Common agent mistakes in Expo apps

  • Installing a package with npm install and getting a version that does not match the SDK.
  • Using a library that needs native code while you are still on Expo Go.
  • Putting an API key in app.json or in code. Move paid API calls behind your own server. See the mobile app security checklist.
  • Forgetting Android back button and keyboard behaviour. Test both platforms.

The general setup for every stack is in Claude Code for mobile app development.

Sources read on the day this post was written: Expo: create a project, Expo: development builds, Expo: EAS Build, Expo: EAS Submit, Expo services and Claude Code memory (CLAUDE.md).

Questions

Does Claude Code work with Expo?

Yes. An Expo app is a TypeScript project driven by npx and Expo commands, which suits Claude Code: it can edit code, run the type checker and tests, and start builds.

Should I use Expo Go or a development build?

Expo Go is quick for trying code. Expo's docs say a development build is your own version of Expo Go with any native libraries, and recommend it when you want to create your own app and release to app stores.

Can Claude Code submit my app to the stores?

It can run the build and submit commands, but the store accounts, credentials and review answers should stay with you. Run those steps yourself or in CI.

Try it on your next idea

One payment, every update to this major version, and a refund window if it is not for you. Refund policy.