{"id":8890,"date":"2026-11-13T21:12:29","date_gmt":"2026-11-13T21:12:29","guid":{"rendered":"https:\/\/lockitsoft.com\/?p=8890"},"modified":"2026-11-13T21:12:29","modified_gmt":"2026-11-13T21:12:29","slug":"react-native-0-87-arrives-with-mandatory-strict-typescript-integration-and-experimental-swift-package-manager-support","status":"publish","type":"post","link":"https:\/\/lockitsoft.com\/?p=8890","title":{"rendered":"React Native 0.87 Arrives with Mandatory Strict TypeScript Integration and Experimental Swift Package Manager Support"},"content":{"rendered":"<p>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\u2019s ongoing transition away from historically permissive configurations.<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/lockitsoft.com\/?p=8890\/#A_Chronology_of_the_Strict_API_Transition\" >A Chronology of the Strict API Transition<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/lockitsoft.com\/?p=8890\/#Technical_Foundations_and_Toolchain_Upgrades\" >Technical Foundations and Toolchain Upgrades<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/lockitsoft.com\/?p=8890\/#Experimental_Swift_Package_Manager_Support\" >Experimental Swift Package Manager Support<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/lockitsoft.com\/?p=8890\/#Implications_for_the_Ecosystem\" >Implications for the Ecosystem<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/lockitsoft.com\/?p=8890\/#Supporting_Data_and_Strategic_Direction\" >Supporting Data and Strategic Direction<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/lockitsoft.com\/?p=8890\/#Analysis_of_the_Migration_Path\" >Analysis of the Migration Path<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/lockitsoft.com\/?p=8890\/#Broader_Impact_on_Mobile_Development\" >Broader Impact on Mobile Development<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/lockitsoft.com\/?p=8890\/#Conclusion\" >Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n<h3><span class=\"ez-toc-section\" id=\"A_Chronology_of_the_Strict_API_Transition\"><\/span>A Chronology of the Strict API Transition<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>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.<\/p>\n<p>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.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Technical_Foundations_and_Toolchain_Upgrades\"><\/span>Technical Foundations and Toolchain Upgrades<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>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.<\/p>\n<p>The framework\u2019s 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.<\/p>\n<figure class=\"article-inline-figure\"><img decoding=\"async\" src=\"https:\/\/reactnative.dev\/img\/logo-share.png\" alt=\"React Native 0.87 - Strict TypeScript API, Metro Update, Swift Package Manager, AGP 9 Support\" class=\"article-inline-img\" loading=\"lazy\" \/><\/figure>\n<h3><span class=\"ez-toc-section\" id=\"Experimental_Swift_Package_Manager_Support\"><\/span>Experimental Swift Package Manager Support<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>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.<\/p>\n<p>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 &quot;dependency hell&quot; 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.<\/p>\n<p>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 <code>#import &lt;RCTAppDelegate.h&gt;<\/code> to <code>#import &lt;React\/RCTAppDelegate.h&gt;<\/code>). This shift ensures that each namespace has a single, unambiguous physical location, reducing the likelihood of compilation errors during complex builds.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Implications_for_the_Ecosystem\"><\/span>Implications for the Ecosystem<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>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 &quot;skills&quot; 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 <code>tsconfig.json<\/code> 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.<\/p>\n<p>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 <code>gradle.properties<\/code> file to allow developers to opt-out of certain built-in Kotlin and DSL behaviors until their projects are fully prepared to migrate.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Supporting_Data_and_Strategic_Direction\"><\/span>Supporting Data and Strategic Direction<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>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 &quot;leaner&quot; tooling and &quot;stricter&quot; APIs aligns with a broader trend in software engineering: the prioritization of type safety and developer experience (DX) over rapid, unconstrained development.<\/p>\n<figure class=\"article-inline-figure\"><img decoding=\"async\" src=\"https:\/\/reactnative.dev\/blog\/assets\/0.87-symbol-docs-before.png\" alt=\"React Native 0.87 - Strict TypeScript API, Metro Update, Swift Package Manager, AGP 9 Support\" class=\"article-inline-img\" loading=\"lazy\" \/><\/figure>\n<p>By forcing a move to TypeScript, the framework creators are effectively reducing the &quot;surface area&quot; 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.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Analysis_of_the_Migration_Path\"><\/span>Analysis of the Migration Path<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>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 &quot;quick fixes&quot; 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.<\/p>\n<p>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 &quot;type language.&quot;<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Broader_Impact_on_Mobile_Development\"><\/span>Broader Impact on Mobile Development<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>React Native\u2019s 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.<\/p>\n<p>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.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>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.<\/p>\n<!-- RatingBintangAjaib -->","protected":false},"excerpt":{"rendered":"<p>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 &hellip;<\/p>\n","protected":false},"author":25,"featured_media":8889,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[4,338,5,16,79,3567,4327,3,10,651,9,1258,432,3566,1259],"class_list":["post-8890","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-mobile-application-development","tag-apps","tag-arrives","tag-development","tag-experimental","tag-integration","tag-manager","tag-mandatory","tag-mobile","tag-native","tag-package","tag-react","tag-strict","tag-support","tag-swift","tag-typescript"],"_links":{"self":[{"href":"https:\/\/lockitsoft.com\/index.php?rest_route=\/wp\/v2\/posts\/8890","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lockitsoft.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lockitsoft.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lockitsoft.com\/index.php?rest_route=\/wp\/v2\/users\/25"}],"replies":[{"embeddable":true,"href":"https:\/\/lockitsoft.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8890"}],"version-history":[{"count":0,"href":"https:\/\/lockitsoft.com\/index.php?rest_route=\/wp\/v2\/posts\/8890\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lockitsoft.com\/index.php?rest_route=\/wp\/v2\/media\/8889"}],"wp:attachment":[{"href":"https:\/\/lockitsoft.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8890"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lockitsoft.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8890"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lockitsoft.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8890"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}