Migrating to React Native v0.78.1
Version v0.78.1 introduces 1 breaking change. This guide details how to update your code.
Released: 3/19/2025
1
Breaking Changes
1
Migration Steps
6
Affected Symbols
⚠️ Check Your Code
If you use any of these symbols, you need to read this guide:
resolver.unstable_enablePackageExportsresolver.unstable_conditionNamesextraModulesForBridgeImageTextInputcli-server-apiBreaking Changes
●Issue #1
Incompatibility between resolver.unstable_enablePackageExports and @react-native/metro-config defaults causing 'interopRequireDefault is not a function' error. Fix by setting resolver.unstable_conditionNames = ['react-native'] in Metro config.
Migration Steps
- 1If using unstable_enablePackageExports, update your Metro configuration to include resolver.unstable_conditionNames = ['react-native'] to avoid interop errors.
Release Summary
React Native 0.78.1 addresses critical bugs including Android Image runtime errors, iOS TextInput crashes on Apple Silicon, and DevTools stability, while providing a workaround for a Metro configuration incompatibility.
Need More Details?
View the full release notes and all changes for React Native v0.78.1.
View Full Changelog