Skip to main content

React Native 0.87: Strict TypeScript API and Metro Updates

React Native 0.87 was announced on August 11, 2026. The biggest change is about how applications and libraries interact with React Native's public API: the Strict TypeScript API is now the default. The release also updates Metro, adds experimental Swift Package Manager support, and raises Android and Node.js toolchain requirements.

Here is what matters when maintaining an existing project.

Strict TypeScript API is now the default​

React Native's public TypeScript definitions are generated from its source and cover the supported root exports. Previously, some packages relied on internal imports that were never intended to be stable:

// Avoid deep imports into React Native internals.
// import type { SomeInternalType } from 'react-native/Libraries/...';

import type { ViewProps, TextInputProps } from 'react-native';

If your code or a dependency imports from react-native/Libraries/*, expect type errors. Migrating to public root exports is the durable solution. Some ref types also have new names; check the official migration guidance instead of applying global search-and-replace blindly.

There is a temporary compatibility option for projects that need time to migrate:

{
"extends": "@react-native/typescript-config",
"compilerOptions": {
"customConditions": [
"react-native",
"react-native-legacy-deep-imports"
]
}
}

This is a short-term bridge, not the recommended default. It affects TypeScript checking in your project; it does not downgrade the React Native runtime.

Metro 0.87: faster source maps and updated config support​

React Native 0.87 includes Metro 0.87. The release reports faster source map generation and more efficient source map storage. It also supports TypeScript and ESM Metro configuration files, such as metro.config.mts.

If you own a custom Metro configuration, check whether it depends on removed YAML configuration support or .es6 configuration files. Most applications using a conventional metro.config.js do not need to rewrite their setup just to upgrade.

Swift Package Manager: promising, but experimental​

The release introduces an opt-in path for integrating iOS dependencies through Swift Package Manager (SwiftPM). CocoaPods remains the default supported integration path. The React Native team specifically advises against using the experimental SwiftPM workflow in production yet.

If your team is exploring it, start in a disposable branch and verify every native dependency; a library may need a Package.swift manifest or a generated scaffold. Do not remove CocoaPods from a working release pipeline solely because of this announcement.

Check your build toolchain before upgrading​

React Native 0.87 requires or introduces important build changes:

AreaWhat to check
Node.jsVersion 22.13.0 or newer
AndroidKotlin 2.0 or newer
AndroidAndroid Gradle Plugin 9 support and migration requirements
AndroidMinimum compile SDK requirement of 34 for libraries
iOSKeep CocoaPods unless explicitly testing experimental SwiftPM
TypeScriptPublic imports and renamed or tightened types

The official notes recommend temporarily disabling certain new AGP 9 behaviors while migrating:

# android/gradle.properties, for projects upgrading to AGP 9
android.builtInKotlin=false
android.newDsl=false

These properties are relevant to the AGP 9 upgrade path; don't add them to every project without checking the Android Gradle Plugin version in use.

Other removals worth checking​

A few previously deprecated APIs are removed, including InteractionManager (use requestIdleCallback), the Modal animated prop, and certain StatusBar props and setter methods. The deprecated standalone React DevTools connection is also removed in favor of React Native DevTools.

A practical upgrade workflow​

  1. Read the 0.87 release notes and compare your app with the React Native Upgrade Helper.
  2. Update Node and Android build tooling in CI before debugging app-level errors.
  3. Run TypeScript checking and replace internal React Native imports with public APIs.
  4. Build and test both platforms, including navigation, text input, keyboard handling, and native modules.
  5. Run a release build on real devices; successful development builds alone are not enough.

For Expo apps: do not force an arbitrary React Native version into an existing Expo SDK. Follow your SDK's supported React Native version and the Expo upgrade guide. At the time of the 0.87 announcement, Expo pointed developers toward canary releases for integration testing.

References​