Expo in practice · senior
Upgrading the Expo SDK safely
Upgrade one Expo SDK at a time: install the new expo version, let npx expo install --fix align every Expo and React Native package, run npx expo-doctor, regenerate native folders with prebuild (or apply the native diff without CNG), read the changelog's breaking changes, and ship a store build because the runtime version changes.
Explain it out loud
Explain it out loud to an AI interviewer that follows up, and see where your answer is thin.
Practise by voiceThe notes
What you must know
- Steps: npx expo install expo@^58.0.0 --fix (or npm install expo@^58.0.0, then npx expo install --fix) → npx expo-doctor → with CNG, regenerate ios/ and android/ (prebuild; clean by default since SDK 57) → without CNG, npx pod-install plus the native upgrade diff.
- One SDK at a time; read each changelog. Deprecations in one SDK are often removals in the next.
- The legacy-architecture cliff: SDK 54 was the last SDK with the legacy architecture. Turn the New Architecture on in SDK 54, fix or replace blocking libraries (reactnative.directory), then step through 55, 56, 57, 58.
- Codemods: SDK 56 moved direct @react-navigation/* imports to expo-router/react-navigation (npx expo-codemod sdk-56-expo-router-react-navigation-replace src).
- SDK 58 checklist: SceneDelegate for the iOS 27 SDK (generated by prebuild), R8 on by default (check keep rules), strict TypeScript API, InteractionManager removed, async File.write(), native tabs import path change.
- A native upgrade changes the runtime version: release a store build first; old binaries keep getting updates only on their old runtime.
- Expo Go only runs the latest SDK; use development builds when you must stay on an older SDK for a while.
The red pen
Common traps: mistake → fix
Mistake: "Jump from SDK 54 to 58 in one PR"
Fix: four sets of breaking changes at once; go step by step.
Mistake: "OTA the SDK upgrade"
Fix: native changed; it needs a store build and a new runtime version.
Mistake: "Fix upgrade issues by editing native files"
Fix: with CNG those edits vanish; use plugins.
Easy to hard
Questions interviewers ask, easy to hard
- You are on SDK 54 with two libraries that do not support the New Architecture. What is your path to SDK 58?
- What changed in SDK 55 that breaks apps?
- What did you have to do for SDK 58 and the iOS 27 SDK?
- How do you de-risk the upgrade?
Explain it out loud
Explain it out loud to an AI interviewer that follows up, and see where your answer is thin.
Practise by voiceYour first interview is free
Sign up and start with a 15-minute interview with the full report, and an English conversation. No card needed.