React Native v0.76 released
0.76
React Native 0.76 enables the New Architecture by default and declares it ready for production. It also ships the first stable React Native DevTools, a much faster Metro resolver and new boxShadow and filter style props. Breaking changes include removing the direct CLI dependency, Android native library merging and higher minimum iOS and Android versions.
Highlights
- New Architecture enabled by default: Starting with 0.76, the New Architecture is enabled by default in your projects and is declared ready for production use. It is a rewrite of React Native's internals.
- React Native DevTools is the new default debugger: The first stable release offers a Chrome DevTools-based debugger, integrated React Components Inspector and Profiler, reliable breakpoints across reloads and zero-config launch from the Dev Menu or via j in the CLI.
- Metro resolver around 15x faster: Performance improvements to Metro's resolver make module resolution around 15x faster. Warm builds have been seen at around 4x faster.
- New boxShadow and filter style props: These New Architecture only props follow web specs and accept CSS-like strings or JS objects. On iOS, filter only supports brightness and opacity. On Android, blur and drop-shadow require Android 12+.
- Smaller Android apps from native library merging: Android: native code is merged into a single libreactnative.so. This reduces app size by ~3.8MB and median app startup time by ~15ms in benchmarks.
- Metro log forwarding to be removed next release: Forwarded logs in Metro will be removed in the next release. Use the Console panel in React Native DevTools for logging instead.
Breaking changes
- @react-native-community/cli is no longer a direct dependency of React Native. Projects that use the community CLI must declare it themselves.
- Android: native libraries are merged into libreactnative.so. Apps must update
SoLoader.initin their Application's onCreate. Library authors are only affected if they have custom C++ code. - Minimum platform versions raised: iOS from 13.4 to 15.1, and Android from SDK 23 to SDK 24 (Android 7).
- Looping animations no longer send state updates to React. Previously this caused unnecessary re-rendering.
- The Inspector Panel perf and network tabs are removed under the New Architecture. The
--experimental-debuggeroption was removed from the start command. - Android: view backgrounds are no longer directly ReactViewBackgroundDrawable or CSSBackgroundDrawable.
- iOS: the RCT_EXPORT_CXX_MODULE_EXPERIMENTAL macro for autolinking pure Cxx modules was removed.
- TurboModules are now looked up as TurboModules first, falling back to legacy modules after.
Upgrading
- If you rely on the CLI, add
@react-native-community/cli,@react-native-community/cli-platform-androidand@react-native-community/cli-platform-ios(15.0.0) to devDependencies in your package.json. - Android: in MainApplication, import
com.facebook.react.soloader.OpenSourceMergedSoMappingand replaceSoLoader.init(this, false)withSoLoader.init(this, OpenSourceMergedSoMapping). - If you use Expo, React Native 0.76 is supported in Expo SDK 52.
- To create a new project with the CLI, run
npx @react-native-community/cli@latest init MyProject --version latest. - 0.76 is now the latest stable version, and 0.73.x moves to unsupported.
- Compare template changes in the Upgrade Helper.
Patch releases
| Version | Released |
|---|---|
| 0.76.9 | 2025-04-03 |
| 0.76.8 | 2025-03-26 |
| 0.76.7 | 2025-02-05 |
| 0.76.6 | 2025-01-09 |
| 0.76.5 | 2024-12-09 |
| 0.76.4 | 2024-12-06 |
| 0.76.3 | 2024-11-21 |
| 0.76.2 | 2024-11-14 |
| 0.76.1 | 2024-10-29 |
| 0.76.0 | 2024-10-23 |