{"id":9308,"date":"2026-12-02T21:11:36","date_gmt":"2026-12-02T21:11:36","guid":{"rendered":"https:\/\/lockitsoft.com\/?p=9308"},"modified":"2026-12-02T21:11:36","modified_gmt":"2026-12-02T21:11:36","slug":"react-native-0-87-release-marks-a-pivotal-transition-to-strict-typescript-architecture-and-enhances-developer-tooling-efficiency","status":"publish","type":"post","link":"https:\/\/lockitsoft.com\/?p=9308","title":{"rendered":"React Native 0.87 release marks a pivotal transition to strict TypeScript architecture and enhances developer tooling efficiency"},"content":{"rendered":"<p>The release of React Native 0.87 represents one of the most significant architectural shifts in the history of the framework, signaling a move toward a more type-safe, performant, and modern development environment. By establishing the Strict TypeScript API as the default standard for all new projects, the React Native team is effectively closing a chapter on legacy development patterns while simultaneously introducing experimental support for Swift Package Manager (SwiftPM) to streamline iOS workflows. This update, which follows a rigorous multi-month testing period that began with the introduction of the API in version 0.80, reflects a broader trend in the JavaScript ecosystem to prioritize developer ergonomics and compile-time safety.<\/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=9308\/#Chronology_of_the_Transition\" >Chronology of the 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=9308\/#Technical_Foundations_and_Tooling_Upgrades\" >Technical Foundations and Tooling 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=9308\/#The_Shift_to_Strict_TypeScript\" >The Shift to Strict TypeScript<\/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=9308\/#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-5\" href=\"https:\/\/lockitsoft.com\/?p=9308\/#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-6\" href=\"https:\/\/lockitsoft.com\/?p=9308\/#Migration_Best_Practices\" >Migration Best Practices<\/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=9308\/#Future_Outlook\" >Future Outlook<\/a><\/li><\/ul><\/nav><\/div>\n<h3><span class=\"ez-toc-section\" id=\"Chronology_of_the_Transition\"><\/span>Chronology of the Transition<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>The journey to version 0.87 began in mid-2025 with the initial preview of the Strict TypeScript API. During the 0.80 release cycle, the development team initiated a deprecation strategy for deep imports, a practice that had historically caused significant maintenance overhead for library authors and developers alike. This phased approach allowed the community to acclimate to the new structure, with 0.87 serving as the culmination of that effort.<\/p>\n<p>The decision to elevate these types to the default status was not taken lightly. Over the past several months, the core team collaborated closely with major ecosystem partners to ensure that popular libraries\u2014often the primary points of failure during major version upgrades\u2014could achieve compatibility. This transition period was designed to minimize the friction typically associated with breaking changes, allowing the broader React Native community to prepare their codebases before the official enforcement in this release.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Technical_Foundations_and_Tooling_Upgrades\"><\/span>Technical Foundations and Tooling Upgrades<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>At the heart of the 0.87 release is a substantial overhaul of the underlying infrastructure. Metro, the JavaScript bundler specifically optimized for React Native, has been updated to version 0.87. This update introduces performance improvements that reduce build times and memory consumption, addressing long-standing developer feedback regarding the scaling of large, complex applications.<\/p>\n<p>Simultaneously, the framework has raised its minimum toolchain requirements to keep pace with the evolving Android and Node.js ecosystems. Projects running on 0.87 must now utilize Node.js 22, Android Gradle Plugin (AGP) 9, and Kotlin 2.0 or higher. The integration of AGP 9 is particularly noteworthy, as it introduces substantial changes to the Gradle build system. To support this, the React Native team has provided specific guidance for developers to opt out of certain built-in Kotlin and new DSL behaviors, ensuring stability while developers incrementally adopt the new AGP standards.<\/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=\"The_Shift_to_Strict_TypeScript\"><\/span>The Shift to Strict TypeScript<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>The move to a Strict TypeScript API is perhaps the most impactful change for the daily developer experience. By standardizing the public JavaScript API, the framework now provides deeper integration with IDEs. As demonstrated in internal testing, hovering over components like <code>TextInput<\/code> now yields rich documentation and precise type information that was previously obscured by legacy abstraction layers.<\/p>\n<p>This shift does not come without cost. The transition introduces intentional breaking changes, requiring developers to audit their imports and ensure compliance with the new API surface. However, the benefits\u2014including reduced runtime errors, improved refactoring capabilities, and significantly better autocomplete support\u2014are expected to offset the initial migration effort. For teams unable to migrate immediately, the maintainers have included a temporary opt-out mechanism via a custom condition in the <code>tsconfig.json<\/code> file. This bridge, which uses the <code>react-native-legacy-deep-imports<\/code> flag, will remain supported until the 0.88 release, after which legacy types will be permanently removed.<\/p>\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>On the iOS front, version 0.87 introduces experimental support for Swift Package Manager (SwiftPM) as an alternative to the long-standing CocoaPods dependency manager. Historically, React Native developers have relied on CocoaPods to manage native dependencies, a process that frequently required Ruby, Bundler, and a complex dependency graph. <\/p>\n<p>The introduction of SwiftPM allows developers to bypass these requirements, relying instead on a native integration within Xcode. The process is designed to be &quot;additive,&quot; meaning that the framework injects references into existing <code>.xcodeproj<\/code> files without overwriting existing build configurations or signing settings. This simplification is intended to reduce the &quot;black box&quot; nature of iOS builds in React Native, where dependency resolution failures in CocoaPods were a common source of frustration. <\/p>\n<p>To achieve this level of integration, the team had to fundamentally rethink how precompiled binaries are shipped. The new XCFrameworks included in this release resolve headers through standard paths, which necessitated a change in how developers import certain modules. For instance, developers must now use namespace-prefixed imports\u2014changing <code>#import &lt;RCTAppDelegate.h&gt;<\/code> to <code>#import &lt;React\/RCTAppDelegate.h&gt;<\/code>\u2014to ensure compatibility with the stricter requirements of the SwiftPM architecture.<\/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 broader impact of version 0.87 is a more robust, standardized framework. By enforcing strict typing, the React Native team is essentially reducing the &quot;hidden&quot; surface area of the framework, making it easier for automated tools to detect bugs before code ever reaches a device. The move away from CocoaPods towards SwiftPM, even in its experimental phase, hints at a future where native mobile development on iOS becomes more accessible to developers coming from a web-focused background.<\/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>Data from the release indicates that 265 individual commits from 74 contributors were integrated into 0.87. This high level of community participation highlights the collaborative nature of the React Native project. While the immediate focus is on successful migration, the longer-term goal is to harmonize the development experience across Android and iOS to the greatest extent possible.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Migration_Best_Practices\"><\/span>Migration Best Practices<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>For organizations currently planning their upgrade to 0.87, the primary recommendation is to leverage the React Native Upgrade Helper. This tool allows developers to visualize the specific code changes required for their unique configurations. Furthermore, the availability of the <code>\/migrate-to-strict-api<\/code> skill within the community\u2019s agent-driven migration tools provides a automated pathway for handling the most common type-related breaking changes.<\/p>\n<p>It is also important to note the shift in support policies. With the release of 0.87, the 0.84.x version series has officially reached its end-of-life status. Organizations still utilizing older versions of the framework are strongly advised to prioritize this upgrade, not only to gain access to the new TypeScript and SwiftPM features but also to ensure that they are operating on a version of the framework that receives critical security patches and performance updates.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Future_Outlook\"><\/span>Future Outlook<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>As the community begins to adopt version 0.87, the focus will likely shift toward the final removal of the legacy TypeScript types in 0.88 and the hardening of the SwiftPM implementation. The decision to enforce these standards reflects a maturity in the framework that was not present in its earlier years. By prioritizing a &quot;correct-by-default&quot; approach, React Native is positioning itself as a more reliable choice for enterprise-grade applications where stability and long-term maintainability are paramount.<\/p>\n<p>In conclusion, React Native 0.87 is a landmark release that addresses the technical debt accumulated over years of rapid growth. While the transition to strict TypeScript and the adoption of new build tools require a concerted effort from development teams, the result is a cleaner, more predictable, and more efficient framework. By aligning with modern standards like AGP 9 and SwiftPM, the project continues to prove its adaptability, ensuring that it remains the premier choice for cross-platform mobile development in an increasingly complex technical landscape.<\/p>\n<!-- RatingBintangAjaib -->","protected":false},"excerpt":{"rendered":"<p>The release of React Native 0.87 represents one of the most significant architectural shifts in the history of the framework, signaling a move toward a more type-safe, performant, and modern development environment. By establishing the Strict TypeScript API as the default standard for all new projects, the React Native team is effectively closing a chapter &hellip;<\/p>\n","protected":false},"author":26,"featured_media":9307,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[4,283,11,5,334,695,1726,3,10,2439,9,8,1258,2963,665,1259],"class_list":["post-9308","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-mobile-application-development","tag-apps","tag-architecture","tag-developer","tag-development","tag-efficiency","tag-enhances","tag-marks","tag-mobile","tag-native","tag-pivotal","tag-react","tag-release","tag-strict","tag-tooling","tag-transition","tag-typescript"],"_links":{"self":[{"href":"https:\/\/lockitsoft.com\/index.php?rest_route=\/wp\/v2\/posts\/9308","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\/26"}],"replies":[{"embeddable":true,"href":"https:\/\/lockitsoft.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9308"}],"version-history":[{"count":0,"href":"https:\/\/lockitsoft.com\/index.php?rest_route=\/wp\/v2\/posts\/9308\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lockitsoft.com\/index.php?rest_route=\/wp\/v2\/media\/9307"}],"wp:attachment":[{"href":"https:\/\/lockitsoft.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9308"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lockitsoft.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9308"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lockitsoft.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9308"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}