React Native 0.87 Arrives with Mandatory Strict TypeScript Integration and Experimental Swift Package Manager Support

The release of React Native 0.87 marks a pivotal milestone in the evolution of the cross-platform framework, signaling a shift toward more robust, type-safe development practices and modern build infrastructure. As the latest stable version, this release deprecates legacy configurations in favor of the Strict TypeScript API, updates core tooling, and introduces an experimental path for iOS development via the Swift Package Manager (SwiftPM). These changes, while designed to improve long-term stability and developer productivity, necessitate significant adjustments for teams managing existing codebases, reflecting the framework’s ongoing transition away from historically permissive configurations.
A Chronology of the Strict API Transition
The adoption of the Strict TypeScript API is not an abrupt pivot but the culmination of a multi-phase strategy initiated in mid-2025. When React Native 0.80 was released, the development team introduced the Strict TypeScript API as an opt-in feature, simultaneously signaling the deprecation of legacy deep imports. This strategy allowed the ecosystem time to adapt to a cleaner, more predictable API surface.
By elevating the Strict TypeScript API to the default status in version 0.87, the core team is enforcing a standard that had previously been optional. This transition is intended to resolve long-standing issues related to type ambiguity and inconsistent API access. For developers, this change manifests as a more integrated documentation experience; when interacting with standard components such as TextInput, IDEs will now surface comprehensive type definitions and inline documentation that were previously obscured or missing under the legacy type system.
Technical Foundations and Toolchain Upgrades
React Native 0.87 mandates higher minimum requirements for the underlying development environment to maintain compatibility with modern mobile ecosystems. Developers must now use Node.js 22, while the Android build environment requires an update to the Android Gradle Plugin (AGP) 9. Furthermore, support for Kotlin 2.0+ is now a core requirement. These updates are essential to leverage performance improvements in the build pipeline and to maintain security standards for mobile applications distributed via the Google Play Store and Apple App Store.
The framework’s integration with Metro, the JavaScript bundler, has also seen a significant upgrade, moving from version 0.84 to 0.87. This update focuses on internal optimizations that contribute to faster build times and reduced memory overhead during the bundling process. These refinements are particularly critical for large-scale enterprise applications where build duration can be a bottleneck in the continuous integration (CI) pipeline.

Experimental Swift Package Manager Support
Perhaps the most notable architectural change in 0.87 is the experimental introduction of Swift Package Manager (SwiftPM) as an alternative to the long-standing CocoaPods dependency manager for iOS. Since its inception, the React Native ecosystem has relied heavily on CocoaPods for managing native dependencies. However, the complexity of Ruby-based dependency management has frequently been a source of friction for developers.
The SwiftPM implementation aims to simplify this by allowing developers to manage native dependencies using native Apple tooling directly within Xcode. By eliminating the need for Ruby and Bundler, the new workflow promises to reduce the "dependency hell" often associated with version mismatches in CocoaPods. Under this new model, React Native ships precompiled XCFrameworks, which SwiftPM can consume directly. While this feature is currently experimental, it represents a long-term goal of the React Native team to align more closely with the native iOS development experience.
To support this transition, the framework has restructured how it ships binary artifacts. Developers may notice new XCFrameworks that act as header-only containers, facilitating a more standardized approach to header resolution. This change requires developers to update their import statements, moving from flat imports to namespaced imports (e.g., changing #import <RCTAppDelegate.h> to #import <React/RCTAppDelegate.h>). This shift ensures that each namespace has a single, unambiguous physical location, reducing the likelihood of compilation errors during complex builds.
Implications for the Ecosystem
The move to a default Strict TypeScript API is an ecosystem-wide shift that will require maintenance teams to audit their current dependencies. The breaking changes are intentional, designed to eliminate technical debt. To ease this transition, the React Native team has provided comprehensive migration guides and suggested the use of automated "skills" or scripts to fix common errors. For teams that cannot immediately comply with the new standard, a temporary opt-out mechanism is available via the tsconfig.json file. This bridge, however, is short-lived; it is slated for removal in React Native 0.88, indicating that the move to strict typing is mandatory rather than optional.
Regarding the Android build system, the adoption of AGP 9 brings the framework in line with the latest Android development standards. However, because AGP 9 introduces significant changes to the Gradle DSL, the React Native team has provided specific configuration flags in the gradle.properties file to allow developers to opt-out of certain built-in Kotlin and DSL behaviors until their projects are fully prepared to migrate.
Supporting Data and Strategic Direction
The 0.87 release was a massive collaborative effort, featuring 265 commits from 74 individual contributors. This volume of contribution highlights the maturity of the React Native community. The focus on "leaner" tooling and "stricter" APIs aligns with a broader trend in software engineering: the prioritization of type safety and developer experience (DX) over rapid, unconstrained development.

By forcing a move to TypeScript, the framework creators are effectively reducing the "surface area" for runtime errors, which historically plagued JavaScript-heavy mobile apps. When types are explicitly defined and enforced, the compiler catches errors at build time rather than at runtime, significantly improving the reliability of production applications.
Analysis of the Migration Path
For organizations currently utilizing React Native, the transition to 0.87 requires a disciplined approach to dependency management. The deprecation of older APIs and the removal of legacy deep imports mean that "quick fixes" used in previous versions will no longer be viable. The documentation provided by the React Native community, including the Upgrade Helper, has become an indispensable tool for managing these changes.
The decision to keep the opt-out mechanism available only through the next minor release (0.88) suggests a firm timeline for standardization. This effectively gives teams a single release cycle to refactor their codebases. While this may place an immediate burden on development teams, the long-term benefit is a unified ecosystem where libraries and apps speak the same "type language."
Broader Impact on Mobile Development
React Native’s trajectory with version 0.87 confirms its role as a stable, enterprise-grade solution. The shift toward SwiftPM reflects a desire to move away from third-party wrappers toward native-first tooling. If successful, this will make React Native projects more indistinguishable from native Swift projects in terms of build architecture.
Furthermore, the requirement for Node.js 22 and the latest Android build tools ensures that developers are using the most performant and secure environments available. In an era where mobile security and performance are scrutinized, these base-level requirements act as a safeguard for the end-user.
Conclusion
React Native 0.87 is a release defined by consolidation and modernization. By formalizing the Strict TypeScript API, updating the Metro bundler, and introducing an experimental path for SwiftPM, the framework is positioning itself for a future where type safety and native-tooling integration are the default. While the immediate requirement for upgrades and refactoring may be challenging, the cumulative effect of these changes is a more resilient, efficient, and maintainable framework that is better equipped to handle the demands of modern mobile application development. Teams are encouraged to utilize the official migration resources and begin the transition process to ensure their applications remain compatible with the rapidly evolving mobile landscape.







