arrives – Code Guilds https://codeguilds.com Thu, 26 Nov 2026 21:59:29 +0000 en-US hourly 1 https://wordpress.org/?v=7.1.5 React Native 0.87 Arrives with Strict TypeScript as Default, Experimental SwiftPM Support, and Elevated Toolchain Requirements https://codeguilds.com/react-native-0-87-arrives-with-strict-typescript-as-default-experimental-swiftpm-support-and-elevated-toolchain-requirements/ https://codeguilds.com/react-native-0-87-arrives-with-strict-typescript-as-default-experimental-swiftpm-support-and-elevated-toolchain-requirements/#respond Thu, 26 Nov 2026 21:59:29 +0000 https://codeguilds.com/react-native-0-87-arrives-with-strict-typescript-as-default-experimental-swiftpm-support-and-elevated-toolchain-requirements/ The release of React Native 0.87 marks a significant milestone for the cross-platform framework, introducing structural improvements aimed at developer ergonomics, modern toolchain alignment, and long-term ecosystem stability. Spearheaded by a collaborative effort involving 74 contributors who authored 265 commits, this latest stable version replaces older iterations and brings critical upgrades to JavaScript type safety, build system integrations, and package management on both iOS and Android. With version 0.84 transitioning out of official support, engineering teams worldwide are encouraged to evaluate their upgrade pathways to leverage the performance and architectural enhancements baked into this release.

At the core of version 0.87 is the transition of the Strict TypeScript API to the default JavaScript interface for all newly initialized and upgraded projects. Initially introduced as an opt-in preview in version 0.80 alongside the deprecation of deep imports, the Strict API brings intentional, ecosystem-wide adjustments designed to improve type correctness and code predictability. Developers will immediately notice enhanced IDE integration, featuring comprehensive documentation and type information directly within hover tooltips for core components like TextInput. While this transition introduces breaking changes across the API surface, the React Native core team has worked closely with community partners to finalize root exports and resolve incompatibilities with widely used libraries. For teams requiring additional time to refactor legacy codebases, a temporary opt-in bridge remains available through the introduction of the "react-native-legacy-deep-imports" custom condition in tsconfig.json. However, maintainers have confirmed that these legacy types will be permanently excised in the subsequent 0.88 release, signaling a decisive shift toward a fully typed ecosystem.

React Native 0.87 - Strict TypeScript API, Metro Update, Swift Package Manager, AGP 9 Support

On the iOS front, React Native 0.87 introduces experimental support for the Swift Package Manager (SwiftPM), providing an additive alternative to the long-standing CocoaPods dependency manager. Designed to streamline native iOS development, the SwiftPM integration relies entirely on prebuilt XCFrameworks already published by the framework, eliminating the need for Ruby, Bundler, or CocoaPods configurations. Developers can integrate SwiftPM into existing projects using a dedicated command-line interface (npx react-native spm --deintegrate), which injects package references directly into the existing .xcodeproj file without disrupting project signing, capabilities, or build phases. A notable operational benefit of this integration is the automation of native dependency management; subsequent additions or removals of native packages no longer require manual execution of pod install, as the project dynamically detects changes and handles autolinking during the build phase. To accommodate the strict structural requirements of SwiftPM regarding XCFrameworks and header locations, the core team restructured precompiled binaries, introducing new header-only frameworks and standardizing namespace resolution. Consequently, developers must update bare-form angle includes in their native code—such as changing #import <RCTAppDelegate.h> to #import <React/RCTAppDelegate.h>—to ensure seamless compilation.

Android development within the React Native ecosystem also receives a major modernization push with official support for the Android Gradle Plugin (AGP) version 9. As a foundational build system update, AGP 9 brings critical API modifications and performance optimizations to the Android build pipeline. Because AGP 9 introduces substantial alterations to Gradle build behaviors, the React Native core team currently recommends that engineering teams explicitly opt out of built-in Kotlin and the new Domain Specific Language (DSL) API behaviors by configuring specific flags within their android/gradle.properties file (android.builtInKotlin=false and android.newDsl=false). These temporary opt-out mechanisms bridge the gap for existing projects while the broader Android ecosystem adapts to the AGP 9 architecture, with plans to phase out the flags in future AGP 10 releases.

To support these advanced architectural features and ensure high execution performance, React Native 0.87 enforces elevated minimum toolchain requirements across the board. The framework now mandates Node.js 22, Android Gradle Plugin 9, and Kotlin 2.0 or higher. These stringent thresholds reflect the broader industry movement toward modern JavaScript runtimes and advanced compiler infrastructures, ensuring that applications built with React Native can take full advantage of asynchronous performance gains, memory management improvements, and modern language features. Furthermore, Metro—the JavaScript bundler optimized for React Native—has been updated from version 0.84 to 0.87, delivering faster asset resolution, reduced memory overhead, and leaner compilation cycles that directly benefit local development speeds and production bundle sizes.

React Native 0.87 - Strict TypeScript API, Metro Update, Swift Package Manager, AGP 9 Support

The transition timeline for version 0.87 follows established release cycles within the React Native community. Following its deployment as the latest stable version, legacy iterations such as version 0.84 have officially moved to unsupported status in accordance with the project’s formal support policy. To assist development teams with the upgrade process, the React Native Upgrade Helper remains the primary resource for identifying granular code differences between versions. Additionally, specialized tooling has been introduced to mitigate upgrade friction, including the /migrate-to-strict-api skill designed for agent-driven code migrations, which supplements existing ESLint fixers and comprehensive documentation. For teams operating within the Expo ecosystem, React Native 0.87 is slated for integration via upcoming expo@canary releases, paving the way for broader consumer adoption across managed workflows.

From an industry perspective, the systematic enforcement of strict typing and the embrace of native package managers like SwiftPM underscore React Native’s maturation into an enterprise-grade framework. By aligning JavaScript development patterns closer to native paradigms and eliminating legacy technical debt, the core maintainers are positioning the framework to handle increasingly complex, large-scale mobile applications. While breaking changes and elevated toolchain requirements demand careful planning during upgrade cycles, the long-term implications include superior developer productivity, enhanced application stability, and a more robust foundation for cross-platform mobile engineering. As the ecosystem continues to rally around TypeScript strictness and modern build architectures, version 0.87 serves as a crucial stepping stone toward a more predictable, high-performance future for React Native developers worldwide.

]]>
https://codeguilds.com/react-native-0-87-arrives-with-strict-typescript-as-default-experimental-swiftpm-support-and-elevated-toolchain-requirements/feed/ 0
React Native 0.87 Arrives with Default Strict TypeScript, SwiftPM Support, and Elevated Toolchain Requirements https://codeguilds.com/react-native-0-87-arrives-with-default-strict-typescript-swiftpm-support-and-elevated-toolchain-requirements/ https://codeguilds.com/react-native-0-87-arrives-with-default-strict-typescript-swiftpm-support-and-elevated-toolchain-requirements/#respond Thu, 19 Nov 2026 00:00:04 +0000 https://codeguilds.com/react-native-0-87-arrives-with-default-strict-typescript-swiftpm-support-and-elevated-toolchain-requirements/ The core architecture of cross-platform mobile development is undergoing a significant evolution today with the official release of React Native 0.87. Rolled out to the global developer community, this milestone update elevates the Strict TypeScript API to the default JavaScript interface, introduces experimental support for the Swift Package Manager (SwiftPM) on iOS, and updates the Metro bundler to version 0.87. Alongside these major feature rollouts, the release enforces higher minimum toolchain benchmarks, mandating Node.js 22, Android Gradle Plugin (AGP) 9, and Kotlin 2.0 or higher. As older iterations such as version 0.84 transition out of official support, version 0.87 establishes a modernized baseline designed to enhance type safety, streamline native dependency management, and improve overall build performance.

Evolutionary Timeline: From Opt-In Preview to Default Standard

The journey toward React Native 0.87 began in earnest with the release of version 0.80, which initially introduced the Strict TypeScript API as an optional preview alongside the deprecation of deep imports. Recognizing the inherent risks of breaking changes in a vast ecosystem, the core development team deliberately chose a staged rollout. Throughout the subsequent months, maintainers collaborated closely with ecosystem partners and library authors to refine root exports, identify compatibility friction points, and build automated migration paths.

By version 0.87, this preparatory work culminates in making the Strict TypeScript API the mandatory default for all new and upgraded projects. While the transition introduces intentional breaking changes across the public API surface, it addresses long-standing developer pain points. By incorporating rich documentation comments directly onto symbols, the new types drastically improve the developer experience. Developers hovering over core components like TextInput now see comprehensive type information and inline documentation instantly, replacing the blank or minimal tooltips characteristic of legacy types.

Despite the default shift, the React Native maintainers have implemented a temporary bridge for teams requiring more time to refactor sprawling codebases. Developers can opt out of the Strict TypeScript API through version 0.88 by adding the "react-native-legacy-deep-imports" custom condition to their tsconfig.json file. However, the core team has confirmed that legacy TypeScript types will be permanently excised in the release immediately following 0.88, signaling a definitive end-of-life for the older implementation. To ease the transition, automated tooling such as specialized ESLint fixers and agent-driven migration skills remain available to the community.

Streamlining iOS Infrastructure with Experimental Swift Package Manager Support

React Native 0.87 - Strict TypeScript API, Metro Update, Swift Package Manager, AGP 9 Support

Perhaps the most structurally ambitious addition in React Native 0.87 is the introduction of experimental support for the Swift Package Manager (SwiftPM) on iOS. For years, CocoaPods has served as the undisputed backbone of iOS dependency management within the React Native ecosystem. While CocoaPods remains the default and fully supported path in 0.87, SwiftPM offers a compelling native alternative that eliminates external tooling dependencies like Ruby and Bundler, requiring only Xcode to function.

Implementing SwiftPM required a fundamental rethinking of how React Native distributes its precompiled binaries. Because SwiftPM enforces much stricter structural and header-location rules than CocoaPods, the core team reorganized the framework architecture. This restructuring introduced dedicated header-only XCFrameworks, standardizing header resolution through conventional framework and header search path mechanics. Consequently, developers adopting SwiftPM may need to adjust bare-form angle includes, updating imports to explicitly reference their namespaces—for instance, changing #import to #import <React/RCTAppDelegate.h>.

Integrating SwiftPM into an existing or new project has been designed to minimize friction. Developers can execute a single deintegration command—npx react-native spm –deintegrate—which injects Swift package references directly into the existing Xcode project file (.xcodeproj) without overwriting manual signing configurations, capabilities, or build phases. Crucially, unlike traditional CocoaPods workflows, developers do not need to execute a manual installation command after every native dependency modification. Subsequent builds automatically detect changes and trigger autolinking, eliminating a frequent source of developer friction.

Under-the-Hood Enhancements: Metro 0.87 and Android Gradle Plugin 9

Beyond frontend architecture and iOS tooling, React Native 0.87 brings substantial updates to the build and bundling layers of the framework. Metro, the JavaScript bundler engineered specifically for React Native, has been updated from version 0.84 to 0.87. This upgrade delivers a faster, leaner bundling pipeline, optimizing cold-start times and incremental build performance across large-scale enterprise applications.

On the Android side, version 0.87 marks the first React Native release to officially support the Android Gradle Plugin (AGP) 9. Because AGP 9 introduces significant API shifts and breaking build changes, the React Native team recommends that upgrading projects temporarily opt out of built-in Kotlin and the new DSL behavior by explicitly declaring flags within their gradle.properties files. These temporary opt-outs ensure build stability while the broader Android ecosystem prepares for native AGP 9 adoption, a transition actively coordinated through community-led Request for Comments (RFC #1006).

Elevated Toolchain Requirements and Ecosystem Implications

React Native 0.87 - Strict TypeScript API, Metro Update, Swift Package Manager, AGP 9 Support

The enforcement of stricter minimum toolchain requirements underscores the framework’s pivot toward modern computing standards. By establishing Node.js 22, AGP 9, and Kotlin 2.0+ as mandatory prerequisites, React Native ensures that applications benefit from the latest security patches, performance optimizations, and language features provided by upstream maintainers. However, these elevated thresholds also mean that organizations maintaining legacy infrastructure must systematically audit their continuous integration and deployment (CI/CD) pipelines prior to attempting an upgrade.

The release of version 0.87 was driven by a collaborative global effort involving 74 contributors who authored a total of 265 commits. This distributed model of open-source stewardship highlights the maturity of the React Native ecosystem, where community-driven proposals and rigorous testing cycles directly shape core framework architecture.

Broader Industry Impact and Strategic Outlook

From an industry perspective, React Native 0.87 reinforces Meta’s ongoing commitment to narrowing the performance and developer-experience gap between cross-platform frameworks and native platform development. By embracing modern TypeScript standards natively, React Native aligns closely with web development best practices, enabling safer refactoring and more predictable codebases. Simultaneously, the exploration of SwiftPM signals a pragmatic willingness to reduce reliance on legacy toolchains like Ruby on macOS, aligning mobile development workflows closer with modern Apple ecosystem standards.

As version 0.87 establishes itself as the new stable baseline and version 0.84 moves into unsupported territory, engineering teams are encouraged to leverage automated migration tools and the React Native Upgrade Helper. While upgrades involving major toolchain shifts invariably require careful coordination, the structural payoff—characterized by enhanced type safety, cleaner dependency management, and faster build times—positions React Native applications for scalable, long-term stability.

]]>
https://codeguilds.com/react-native-0-87-arrives-with-default-strict-typescript-swiftpm-support-and-elevated-toolchain-requirements/feed/ 0
React Native 0.87 Arrives With Default Strict TypeScript, Experimental Swift Package Manager, and Major Toolchain Updates https://codeguilds.com/react-native-0-87-arrives-with-default-strict-typescript-experimental-swift-package-manager-and-major-toolchain-updates/ https://codeguilds.com/react-native-0-87-arrives-with-default-strict-typescript-experimental-swift-package-manager-and-major-toolchain-updates/#respond Tue, 10 Nov 2026 21:59:14 +0000 https://codeguilds.com/react-native-0-87-arrives-with-default-strict-typescript-experimental-swift-package-manager-and-major-toolchain-updates/ The React Native core team has officially announced the release of version 0.87, introducing significant foundational updates aimed at modernizing developer tooling, enforcing stricter typing ecosystems, and streamlining native dependency management across iOS and Android platforms. As the latest stable release, version 0.87 transitions the Strict TypeScript API to the default JavaScript interface, updates the Metro bundler to version 0.87, brings experimental Swift Package Manager (SwiftPM) support to iOS, and raises minimum toolchain requirements to Node.js 22, Android Gradle Plugin 9, and Kotlin 2.0+.

This release marks a pivotal step in the ongoing evolution of the cross-platform framework, balancing developer experience with modern architectural standards. With version 0.87 now occupying the latest stable position, support for older iterations—specifically version 0.84.x—officially concludes in accordance with the project’s support lifecycle policy.

Enforcing Type Safety: Strict TypeScript API Becomes the Default

The most visible change for application developers in React Native 0.87 is the transition of the framework’s public JavaScript API to the Strict TypeScript API. Originally introduced as an opt-in preview in version 0.80 alongside the deprecation of deep imports, the strict configuration is now standard for all newly initialized and upgraded projects.

This ecosystem-wide transition introduces deliberate breaking changes across the API surface, designed to eliminate ambiguous typing and drastically improve autocompletion, inline documentation, and error detection within integrated development environments (IDEs). For instance, hovering over core components like TextInput now reveals rich symbol documentation and comprehensive type information, replacing the uninformative hover states of legacy types.

To assist developers in navigating the shift, the core team collaborated closely with community partners to finalize root exports and resolve compatibility issues with widely used third-party libraries. While many applications are expected to upgrade with minimal friction, a dedicated migration guide and automated ESLint fixers are available. Furthermore, agent-driven workflows can leverage the specialized /migrate-to-strict-api skill to streamline large-scale codebase transformations.

Recognizing that complex enterprise applications may require additional time to adapt, the core team has implemented a temporary opt-out mechanism. Developers can revert to legacy typing by incorporating the "react-native-legacy-deep-imports" custom condition within their tsconfig.json file. However, this bridge is strictly temporary and will be deprecated entirely in the subsequent 0.88 release, after which legacy types will be permanently removed.

React Native 0.87 - Strict TypeScript API, Metro Update, Swift Package Manager, AGP 9 Support

Streamlining iOS Infrastructure with Experimental Swift Package Manager Support

On the Apple ecosystem front, React Native 0.87 introduces experimental support for the Swift Package Manager (SwiftPM) as an alternative to CocoaPods. Designed to be entirely opt-in and additive, the new integration path consumes the identical prebuilt XCFrameworks published by the framework, leaving CocoaPods fully functional as the default standard.

Historically, iOS dependency management in React Native required Ruby, Bundler, and CocoaPods configurations. The SwiftPM integration simplifies this pipeline by relying exclusively on Xcode. Developers can transition an existing workspace by executing a single command—npx react-native spm --deintegrate—which non-destructively injects Swift package references directly into the existing .xcodeproj file without altering project signing, capabilities, or build phases. Reversing the operation is equally straightforward via the npx react-native spm deinit command.

A notable operational benefit of the SwiftPM implementation is the elimination of repetitive post-installation steps. Unlike traditional CocoaPods workflows that necessitate running pod install following every modification to native dependencies, the SwiftPM integration automatically detects changes and executes autolinking dynamically during the standard build process.

To achieve seamless compatibility with SwiftPM’s stringent requirements regarding XCFramework structures and header locations, the core team restructured the distribution of React Native’s precompiled binaries. This restructuring includes the introduction of dedicated headers-only frameworks, standardizing search path mechanics and assigning every namespace a unique physical location. While internal header content remains byte-identical to previous versions, developers utilizing bare-form angle includes must update their imports to include explicit namespaces, transforming statements such as #import <RCTAppDelegate.h> into #import <React/RCTAppDelegate.h>.

Elevating Android Builds Through Android Gradle Plugin 9

For Android developers, React Native 0.87 delivers foundational compatibility with the Android Gradle Plugin (AGP) version 9. As a major release introducing substantial API and Gradle build alterations, AGP 9 adoption requires specific configuration adjustments to maintain stability during the transitional phase.

To ensure a smooth upgrade path, the core team recommends explicitly opting out of built-in Kotlin and the new Domain-Specific Language (DSL) behavior introduced with AGP 9. Developers can implement this by appending specific flags—android.builtInKotlin=false and android.newDsl=false—to their android/gradle.properties files. These temporary opt-outs are projected to phase out in upcoming AGP 10 releases as the broader Android ecosystem finalizes its adoption.

React Native 0.87 - Strict TypeScript API, Metro Update, Swift Package Manager, AGP 9 Support

Performance Enhancements and Toolchain Modernization

Accompanying these architectural shifts is an upgrade to the Metro JavaScript bundler, moving from version 0.84 to 0.87. This iteration focuses on performance optimizations, reduced memory overhead, and faster incremental build times, aligning with the framework’s broader objective of delivering a leaner development loop.

Concurrently, the minimum toolchain requirements have been elevated to reflect modern software standards. React Native 0.87 officially mandates Node.js 22, Android Gradle Plugin 9, and Kotlin 2.0 or higher. These elevated baselines allow the core maintainers to leverage modern language features, enhance security postures, and remove legacy compatibility layers that previously contributed to framework bloat.

Community Collaboration and Upgrade Pathways

The release of React Native 0.87 is the collaborative product of 265 distinct commits contributed by 74 community members, reflecting the active engagement of the global open-source ecosystem.

For developers preparing to transition existing codebases, the official React Native Upgrade Helper remains the primary resource for visualizing code differences between versions. New project initialization can be executed via the updated command line interface using npx @react-native-community/cli@latest init MyProject --version latest, while projects within the Expo ecosystem can anticipate integration via upcoming expo@canary releases.

As React Native continues to refine its underlying architecture across both mobile operating systems, version 0.87 establishes a more robust, type-safe, and natively aligned foundation for cross-platform application development.

]]>
https://codeguilds.com/react-native-0-87-arrives-with-default-strict-typescript-experimental-swift-package-manager-and-major-toolchain-updates/feed/ 0
React Native 0.87 Arrives with Strict TypeScript as Default and Experimental Swift Package Manager Support https://codeguilds.com/react-native-0-87-arrives-with-strict-typescript-as-default-and-experimental-swift-package-manager-support-2/ https://codeguilds.com/react-native-0-87-arrives-with-strict-typescript-as-default-and-experimental-swift-package-manager-support-2/#respond Mon, 02 Nov 2026 22:01:08 +0000 https://codeguilds.com/react-native-0-87-arrives-with-strict-typescript-as-default-and-experimental-swift-package-manager-support-2/ The cross-platform mobile development landscape shifted this week with the official release of React Native 0.87. This major update brings several foundational changes to how developers build applications for iOS and Android, headlined by the transition of the Strict TypeScript API into the default JavaScript interface. Alongside this modernization of type safety, the framework introduces a significant modernization of its underlying tooling, updating the Metro bundler to version 0.87, adding experimental support for the Swift Package Manager (SwiftPM) on Apple platforms, and raising minimum toolchain requirements across the board to include Node.js 22, Android Gradle Plugin (AGP) 9, and Kotlin 2.0 or higher.

The release marks the culmination of months of community collaboration, rigorous testing, and phased deprecations designed to align React Native with modern JavaScript and native ecosystem standards. According to project maintainers, version 0.87 features contributions from 74 developers who committed 265 code changes, reflecting the continued momentum of the open-source framework originally created by Meta.

Transitioning to Strict TypeScript as the Default

The most prominent developer-facing change in React Native 0.87 is the promotion of the Strict TypeScript API to the default JavaScript interface. Originally introduced as an opt-in preview in version 0.80 alongside the deprecation of deep imports, the Strict API is now mandatory for all new and upgraded projects unless developers explicitly opt out.

This ecosystem-wide transition carries intentional breaking changes across the API surface, designed to improve code reliability, autocomplete accuracy, and documentation visibility within Integrated Development Environments (IDEs). For instance, hovering over core components like TextInput under the new strict types now displays comprehensive inline documentation and type signatures—a stark contrast to legacy setups where symbols often lacked detailed metadata.

To ease the migration burden for development teams, the React Native core team has worked closely with community partners to finalize root exports and resolve compatibility issues with widely used third-party libraries. Furthermore, to assist with large-scale codebases, the ecosystem has introduced automated tooling, including an agent-driven upgrade skill available via /migrate-to-strict-api, which works in tandem with existing ESLint fixers to automate much of the refactoring process.

For organizations requiring more time to adapt their codebases, maintainers have provided a temporary escape hatch. Developers can maintain legacy deep imports through the 0.88 release cycle by adding the "react-native-legacy-deep-imports" custom condition to their tsconfig.json file. However, project maintainers have emphasized that this bridge is strictly temporary, with complete removal of the legacy types scheduled for the subsequent major release.

Modernizing iOS Integration with Experimental Swift Package Manager Support

On the iOS front, React Native 0.87 introduces experimental support for the Swift Package Manager (SwiftPM) as an alternative to CocoaPods. This represents a major architectural milestone for iOS builds, offering a native dependency management solution that eliminates the need for Ruby, Bundler, and CocoaPods entirely, relying solely on Xcode.

React Native 0.87 - Strict TypeScript API, Metro Update, Swift Package Manager, AGP 9 Support

The SwiftPM integration is implemented as an additive, opt-in feature rather than a forced replacement. Developers can transition an existing or new project by running a single command (npx react-native spm --deintegrate), which injects Swift package references directly into the existing .xcodeproj file without disrupting user-defined code signing configurations, capabilities, or custom build phases. Reversing the operation is equally straightforward via a corresponding initialization command.

A key advantage of this new integration workflow is the elimination of repetitive build commands. Unlike CocoaPods, which typically requires developers to execute pod install whenever native dependencies change, the SwiftPM integration relies on project-level detection to automatically trigger autolinking during the standard build process.

To achieve seamless compatibility with SwiftPM—which enforces stricter validation rules regarding XCFramework structures and header paths than CocoaPods—the React Native core team re-engineered how precompiled binaries are distributed. This restructure introduced new header-only XCFrameworks designed to normalize search paths and ensure every namespace maintains a single physical home. Consequently, developers adopting the new packaging may need to update their Objective-C or C++ import statements from bare-form angle brackets (such as #import <RCTAppDelegate.h>) to their fully qualified namespace equivalents (such as #import <React/RCTAppDelegate.h>).

Android Toolchain Evolution and AGP 9 Support

Android developers also see substantial changes in version 0.87, which marks the framework’s inaugural support for the Android Gradle Plugin (AGP) 9. As a major release in the Android build ecosystem, AGP 9 introduces significant API adjustments and breaking build changes.

To ensure a smooth upgrade path and prevent immediate build regressions across existing applications, the React Native team recommends that developers temporarily opt out of AGP 9’s built-in Kotlin support and new DSL behavior. By appending specific flags (android.builtInKotlin=false and android.newDsl=false) to the android/gradle.properties file, teams can maintain build stability while the broader React Native community works toward full, native adoption of AGP 9 standards, an initiative tracked publicly under RFC #1006.

Alongside AGP 9 support, version 0.87 raises baseline requirements across the entire build toolchain. Minimum supported versions now officially stand at Node.js 22 and Kotlin 2.0+, reflecting a broader industry push toward modern runtimes and language features that offer superior performance, enhanced security patches, and advanced compiler optimizations.

Performance Enhancements via Metro 0.87

Under the hood, the Metro JavaScript bundler has been upgraded from version 0.84 to 0.87. This update brings incremental performance improvements to bundling speeds, reduced memory overhead during hot reloading, and better asset resolution handling. The leaner bundling pipeline is designed to mitigate the compilation bottlenecks often encountered in large-scale enterprise applications containing thousands of modules.

Background Context and Chronology of the Release Cycle

The release of React Native 0.87 follows a predictable cadence established by the React Native release working group, which aims to deliver frequent, predictable updates that progressively modernize the framework’s core architecture. Version 0.84, which served as the previous stable standard, has now officially transitioned to unsupported status in accordance with the project’s formal support lifecycle policy.

React Native 0.87 - Strict TypeScript API, Metro Update, Swift Package Manager, AGP 9 Support

The journey toward Strict TypeScript began in mid-2025 with version 0.80, which laid the groundwork by deprecating deep imports and introducing the preview types. Over the subsequent minor releases, feedback from major ecosystem stakeholders—including Expo, Shopify, and Microsoft—helped refine the type definitions and eliminate edge-case compilation errors.

Concurrently, the exploration of SwiftPM addresses long-standing developer pain points related to CocoaPods maintenance, Ruby environment management, and Xcode workspace synchronization issues that have historically complicated iOS onboarding for cross-platform developers.

Implications for the Cross-Platform Development Ecosystem

The enforcement of stricter type definitions and the elevation of minimum toolchain requirements signal a maturing ecosystem where developer ergonomics and build-time safety take precedence over backwards compatibility with legacy configurations.

While the transition to Strict TypeScript and AGP 9 may require engineering teams to allocate dedicated sprint time for refactoring and dependency audits, the long-term implications are overwhelmingly positive. Enhanced IDE autocomplete, fewer runtime type errors, and leaner build pipelines directly address developer productivity bottlenecks. Furthermore, the introduction of SwiftPM paves the way for a more streamlined, Ruby-free iOS build infrastructure that aligns more closely with native Apple development paradigms.

Upgrading and Availability

React Native 0.87 is available immediately as the latest stable release. Existing projects can plan their migration by utilizing the official React Native Upgrade Helper to identify targeted code changes, alongside documentation for addressing breaking changes and API removals.

For developers initiating new projects, initialization is supported via the updated command line interface (npx @react-native-community/cli@latest init MyProject --version latest). Meanwhile, users of the Expo ecosystem can expect React Native 0.87 integration to roll out through upcoming expo@canary and stable SDK release channels.

]]>
https://codeguilds.com/react-native-0-87-arrives-with-strict-typescript-as-default-and-experimental-swift-package-manager-support-2/feed/ 0
React Native 0.83 Arrives with React 19.2 Integration, Breakthrough DevTools, and Zero User-Facing Breaking Changes https://codeguilds.com/react-native-0-83-arrives-with-react-19-2-integration-breakthrough-devtools-and-zero-user-facing-breaking-changes/ https://codeguilds.com/react-native-0-83-arrives-with-react-19-2-integration-breakthrough-devtools-and-zero-user-facing-breaking-changes/#respond Fri, 30 Oct 2026 21:59:23 +0000 https://codeguilds.com/react-native-0-83-arrives-with-react-19-2-integration-breakthrough-devtools-and-zero-user-facing-breaking-changes/ The React Native core team has officially announced the global release of React Native version 0.83, marking a significant milestone in the framework’s evolution. This latest iteration introduces deep integration with React 19.2, delivers a completely redesigned desktop development environment, and brings advanced performance tracing capabilities to mobile developers worldwide. Crucially, version 0.83 stands out as a historic release for the ecosystem: it is the first stable version in the project’s history to ship with absolute zero user-facing breaking changes, promising a seamless upgrade path for teams migrating from version 0.82.

The rollout of React Native 0.83 comes at a time of rapid acceleration for cross-platform mobile development. As enterprises increasingly demand native-level performance coupled with web-standard flexibility, the core maintainers have focused heavily on bridging the gap between web technologies and mobile execution. Developed through 594 distinct code commits contributed by 56 developers from across the global open-source community, this release represents months of collaborative engineering aimed at developer ergonomics, runtime optimization, and diagnostic transparency.

Core Integration of React 19.2 and the New Activity API

At the heart of React Native 0.83 is the adoption of React 19.2, bringing cutting-edge React paradigms directly to mobile applications. Among the most anticipated additions are the <Activity> component and the useEffectEvent hook, both designed to solve long-standing state management and rendering bottlenecks in complex application architectures.

The <Activity> component introduces a sophisticated approach to rendering prioritization. Rather than relying on traditional conditional rendering—which destroys and recreates component subtrees—developers can now partition their applications into discrete "activities" operating in either a 'visible' or 'hidden' mode. When a UI tree is hidden using <Activity mode='hidden'>, the framework preserves its internal state entirely. For instance, user input fields, scroll positions, complex search states, and active list selections remain intact in the background. When the activity transitions back to a visible state, the user is greeted by the exact interface state they left behind, eliminating unnecessary re-fetching and state restoration logic.

React Native 0.83 - React 19.2, New DevTools features, no breaking changes

Complementing this is useEffectEvent, a utility engineered to untangle complex side effects. Historically, developers managing external system subscriptions within a useEffect hook faced a dilemma: including external values in the dependency array caused excessive, unintended re-fires of the effect, while excluding them risked stale closures and subtle runtime bugs that standard linters flagged. useEffectEvent cleanly separates the event logic from the effect emitter, allowing developers to read the latest props and state without triggering unnecessary effect re-runs, thereby satisfying linters and improving application stability.

Addressing the React Server Components Security Context

In tandem with the React 19.2 integration, the release naturally intersects with recent discussions surrounding web ecosystem security. Following the disclosure of a critical security vulnerability affecting React Server Components in early December 2025, the React Native team issued an immediate clarification regarding mobile architectures.

Industry analysts and developers running monorepos scrutinized their dependency trees following the advisory. The React Native maintainers explicitly stressed that mobile applications built with React Native are entirely unaffected by the vulnerability, as the framework does not rely on the impacted server-side packages. Nevertheless, teams operating within shared monorepos containing both web and mobile workspaces have been advised to audit their environments and upgrade relevant packages. The core team has confirmed that all React dependencies will be bumped to version 19.2.1 in an upcoming patch release to provide absolute peace of mind for enterprise auditors.

Revolutionizing Mobile Diagnostics with React Native DevTools

One of the most praised aspects of the 0.83 release is the comprehensive overhaul of React Native DevTools. Historically, debugging mobile applications required launching browser instances inside Chrome or Edge, often introducing friction and context switching. React Native 0.83 replaces this paradigm with a dedicated, bundled desktop application that provides a streamlined, native debugging experience.

React Native 0.83 - React 19.2, New DevTools features, no breaking changes

The new desktop utility features instant project connection, reduced memory overhead, and a unified interface housing two breakthrough diagnostic panels: Network Inspection and Performance Tracing.

The Network Inspection panel records all standard network transactions executed via fetch(), XMLHttpRequest, and native <Image> components. Developers can now inspect deep metadata, including precise request timings, payload headers, and response previews. Crucially, the introduction of an Initiator tab solves a historically difficult debugging challenge: engineers can now trace the exact line of application code that triggered a specific network request. While full custom networking library integration—such as Expo Fetch—is slated for subsequent updates, the current pipeline provides deep visibility into standard mobile data flows.

Simultaneously, the new Performance Tracing panel merges JavaScript execution tracking, React performance timelines, network events, and custom User Timing markers into a single, cohesive chronological view. By visualizing what operations consume processing cycles, development teams can systematically isolate frame drops, bridge bottlenecks, and rendering inefficiencies.

Web Standards Expansion: Performance APIs and Intersection Observers

React Native 0.83 continues a multi-release strategic initiative to harmonize mobile APIs with established W3C web standards, lowering the learning curve for web developers transitioning to mobile engineering.

Building upon the experimental foundations laid in version 0.82, the Web Performance APIs are now officially designated as stable. Developers can utilize tools like PerformanceObserver not only within the DevTools environment but also directly inside production builds. This capability empowers enterprises to capture granular, real-world performance metrics from end-user devices in the field, feeding telemetry data back to monitoring dashboards.

React Native 0.83 - React 19.2, New DevTools features, no breaking changes

Furthermore, the release introduces support for the IntersectionObserver API within the canary release channel. Designed for asynchronous observation of layout intersections between a target element and its ancestors, IntersectionObserver simplifies common mobile UI patterns such as lazy-loading images, infinite scrolling lists, and visibility-based animations without relying on complex, CPU-intensive scroll-position calculations.

Under-the-Hood Optimizations: Hermes V1 and Build Architecture

Beyond developer-facing APIs, version 0.83 delivers profound architectural enhancements aimed at reducing application binary sizes and accelerating compilation times, particularly on the iOS platform.

The experimental Hermes V1 JavaScript engine—first introduced as an opt-in feature in version 0.82—receives further compiler and virtual machine optimizations in this release. Hermes V1 continues to push the boundaries of execution speed and memory efficiency, though developers wishing to test it must currently build React Native from source using targeted dependency resolutions.

Concurrently, iOS developers can now leverage a powerful new build flag, RCT_REMOVE_LEGACY_ARCH=1, when running CocoaPods. For applications that have fully migrated to the New Architecture (Fabric and TurboModules), this flag completely compiles out the legacy architecture codebase. Internal benchmarks conducted by the core team revealed substantial efficiency gains: on a baseline application without third-party dependencies, iOS build times dropped from 73.0 seconds to 58.2 seconds, while the resulting application package size shrank from 51.2 MB to 48.2 MB.

Additionally, release engineering for library maintainers has been dramatically improved via the RCT_SYMBOLICATE_PREBUILT_FRAMEWORKS flag. This tool allows developers shipping precompiled binaries to download and map dSYM symbol files directly within Xcode, enabling seamless debugging into native React Native core frameworks during simulator and physical device testing.

React Native 0.83 - React 19.2, New DevTools features, no breaking changes

Deprecations and Ecosystem Support Lifecycle

In keeping with semantic versioning and the commitment to a predictable release cadence, React Native 0.83 introduces precisely two Android-specific deprecations as part of ongoing codebase cleanup. Full documentation and migration pathways for these changes are available via the official React Native Upgrade Helper and documentation portals.

With the arrival of version 0.83, the support lifecycle shifts forward. Version 0.83 now stands as the premier stable release of React Native, while version 0.80.x officially transitions into unsupported status in accordance with the project’s formal support policy. Meanwhile, the Expo ecosystem is actively preparing to incorporate React Native 0.83 into its upcoming SDK 55, scheduled for public release in January 2026.

Industry Implications and Future Outlook

The release of React Native 0.83 underscores a mature, enterprise-ready phase for the framework. By prioritizing zero user-facing breaking changes alongside profound tooling upgrades, the core maintainers have directly addressed historical criticisms regarding upgrade friction.

Analysts note that the convergence of web-standard APIs—such as Performance and Intersection Observer APIs—with native-level optimizations like Hermes V1 and legacy architecture pruning positions React Native as an increasingly formidable choice for high-performance mobile engineering. As development teams adopt the new desktop DevTools and leverage state preservation via the <Activity> component, applications built on version 0.83 are expected to deliver measurably smoother user experiences and significantly reduced maintenance overhead throughout 2026.

]]>
https://codeguilds.com/react-native-0-83-arrives-with-react-19-2-integration-breakthrough-devtools-and-zero-user-facing-breaking-changes/feed/ 0
React Native 0.87 Arrives with Strict TypeScript by Default, Swift Package Manager Support, and Higher Toolchain Requirements https://codeguilds.com/react-native-0-87-arrives-with-strict-typescript-by-default-swift-package-manager-support-and-higher-toolchain-requirements/ https://codeguilds.com/react-native-0-87-arrives-with-strict-typescript-by-default-swift-package-manager-support-and-higher-toolchain-requirements/#respond Sat, 24 Oct 2026 22:59:53 +0000 https://codeguilds.com/react-native-0-87-arrives-with-strict-typescript-by-default-swift-package-manager-support-and-higher-toolchain-requirements/ The release of React Native 0.87 marks a significant milestone for the cross-platform framework, introducing the Strict TypeScript API as the default JavaScript environment alongside experimental support for the Swift Package Manager (SwiftPM) on iOS. This latest stable update also brings a major upgrade to Metro 0.87 and raises the foundational toolchain requirements for developers globally, phasing out support for older development environments. With 265 commits contributed by 74 developers, version 0.87 focuses heavily on type safety, modernization of native build pipelines, and ecosystem-wide alignment with contemporary mobile development standards.

Main Facts and Core Upgrades of Version 0.87

At the heart of the React Native 0.87 release is the transition of the framework’s public JavaScript API to the Strict TypeScript API. Originally introduced as an opt-in preview alongside the deprecation of deep imports in version 0.80, this strict typing system is now enabled by default for all new and upgraded projects. This ecosystem-wide shift introduces intentional breaking changes designed to clean up the API surface and provide developers with vastly improved tooling support, such as inline documentation and comprehensive type information visible upon hovering over components like TextInput.

To accommodate teams that require additional time to transition their codebases, the core maintainers have implemented a temporary opt-in bridge. Developers can revert to legacy types through version 0.88 by adding a custom condition ("react-native-legacy-deep-imports") to their tsconfig.json file. However, the legacy TypeScript types are scheduled for permanent removal in the subsequent release.

Concurrently, version 0.87 upgrades the Metro JavaScript bundler from version 0.84 to 0.87, bringing performance enhancements and a leaner execution footprint. On the mobile native side, the framework introduces experimental support for Swift Package Manager as an additive alternative to CocoaPods on iOS, alongside official support for the Android Gradle Plugin (AGP) version 9.

React Native 0.87 - Strict TypeScript API, Metro Update, Swift Package Manager, AGP 9 Support

Chronology and Development Background

The journey toward React Native 0.87 has been shaped by a multi-phase architectural modernization effort spearheaded by Meta and the broader React Native community. The foundation for strict typing was laid several versions prior, notably in version 0.80, where deep imports were deprecated to encourage cleaner module consumption and prepare the ecosystem for strict type definitions. Throughout subsequent point releases, maintainers collaborated closely with library authors and corporate partners to resolve compatibility bottlenecks and finalize root exports.

The introduction of Swift Package Manager support stems from long-standing developer feedback regarding the complexity and friction of maintaining Ruby-based dependency management via CocoaPods in complex iOS projects. By adopting SwiftPM—which consumes the prebuilt XCFrameworks already published by React Native—the core team aims to streamline iOS project setup, requiring only Xcode without external dependencies like Ruby or Bundler.

Similarly, the integration of AGP 9 addresses the fast-moving Android build ecosystem. Because AGP 9 introduces significant API and breaking changes, the React Native team has recommended specific temporary flags (android.builtInKotlin=false and android.newDsl=false) within gradle.properties files to ensure a stable transition path ahead of AGP 10.

Raised Toolchain Requirements and Breaking Changes

To support modern language features and performance optimizations, React Native 0.87 enforces stricter minimum toolchain requirements across the board. Developers must now upgrade their development environments to Node.js 22, Android Gradle Plugin 9, and Kotlin 2.0 or higher. Furthermore, version 0.84.x has officially transitioned to an unsupported status in accordance with the project’s formal support policy, making 0.87 the current baseline for enterprise and independent production applications.

The architectural changes required to support Swift Package Manager also necessitated a restructuring of how precompiled binaries are delivered. Because SwiftPM enforces stricter validation rules regarding XCFramework structures and header locations compared to CocoaPods, maintainers introduced dedicated header-only frameworks. While these files are byte-identical to their source pod counterparts, developers must update their native Objective-C/C++ imports from bare-form angle brackets (e.g., #import <RCTAppDelegate.h>) to namespace-qualified paths (e.g., #import <React/RCTAppDelegate.h>).

React Native 0.87 - Strict TypeScript API, Metro Update, Swift Package Manager, AGP 9 Support

Broader Impact and Implications for the Ecosystem

The enforcement of the Strict TypeScript API and the adoption of modern build tools signal a maturing ecosystem focused on long-term maintainability, developer ergonomics, and build reliability. Type-safe component props and rich IDE tooltips drastically reduce runtime errors and accelerate onboarding for developers working on large-scale applications.

The experimental integration of Swift Package Manager represents a potential paradigm shift for iOS development within the React Native ecosystem. By eliminating the necessity of CocoaPods for compatible workflows, teams can look forward to simplified continuous integration (CI) pipelines, reduced dependency resolution overhead, and a closer alignment with native Apple ecosystem tooling.

For Android developers, navigating the AGP 9 upgrade path lays the groundwork for leveraging upcoming Android Studio features and performance improvements, though migration planning remains crucial for projects with heavily customized native build scripts.

Upgrade Paths and Community Adoption

Upgrading existing projects to React Native 0.87 can be facilitated using the official React Native Upgrade Helper, which outlines necessary code modifications between versions. For automated migrations, agent-driven workflows can leverage specialized community skills such as /migrate-to-strict-api alongside standard ESLint fixers to streamline the transition to strict typing. New project initialization can be executed via the updated command line interface using npx @react-native-community/cli@latest init MyProject --version latest, while Expo users can anticipate integration through upcoming expo@canary release cycles.

]]>
https://codeguilds.com/react-native-0-87-arrives-with-strict-typescript-by-default-swift-package-manager-support-and-higher-toolchain-requirements/feed/ 0
React Native 0.87 Arrives with Strict TypeScript by Default, SwiftPM Support, and Raised Toolchain Baselines https://codeguilds.com/react-native-0-87-arrives-with-strict-typescript-by-default-swiftpm-support-and-raised-toolchain-baselines/ https://codeguilds.com/react-native-0-87-arrives-with-strict-typescript-by-default-swiftpm-support-and-raised-toolchain-baselines/#respond Tue, 29 Sep 2026 11:00:21 +0000 https://codeguilds.com/react-native-0-87-arrives-with-strict-typescript-by-default-swiftpm-support-and-raised-toolchain-baselines/ The cross-platform mobile development landscape is shifting once again as the React Native core team officially announces the release of version 0.87. This major update brings several foundational changes aimed at modernizing the developer experience, improving performance, and aligning the framework with contemporary native ecosystem standards. Among the most notable updates in version 0.87 are the promotion of the Strict TypeScript API as the default JavaScript interface, an update to the Metro bundler, experimental integration for the Swift Package Manager (SwiftPM) on iOS, and essential bumps to minimum toolchain requirements across both Android and iOS environments.

As mobile applications grow increasingly complex, the demand for robust type safety, streamlined build tools, and simplified dependency management has never been higher. Version 0.87 addresses these demands head-on, reflecting months of collaborative engineering between core maintainers, community partners, and enterprise contributors. With 265 commits contributed by 74 developers, this release signifies a concerted push toward a more standardized, performant, and type-safe ecosystem.

Main Facts and Core Upgrades of Version 0.87

At the heart of the React Native 0.87 release is a series of structural enhancements designed to remove technical debt and enforce modern coding practices. The transition of the Strict TypeScript API from an opt-in preview—first introduced in version 0.80 alongside the deprecation of deep imports—to the default JavaScript API stands out as the most impactful change for application developers.

By making the Strict API the default, the core team is enforcing intentional breaking changes across the public API surface. This shift brings significant engineering payoffs, most notably enhanced IDE tooling and documentation support. Developers hovering over components such as TextInput will now see comprehensive type information and integrated documentation comments directly within their development environments, eliminating the guesswork often associated with legacy dynamic types.

To ease the transition for large-scale codebases that cannot migrate immediately, maintainers have included a temporary opt-out mechanism. By incorporating the "react-native-legacy-deep-imports" custom condition into the compilerOptions of a project’s tsconfig.json file, teams can temporarily revert to legacy types. However, this bridge is strictly temporary; the core team has confirmed that legacy TypeScript types will be permanently removed in the subsequent 0.88 release. Furthermore, agent-driven upgrades can leverage specialized migration skills, such as the /migrate-to-strict-api command, to automate the application of ESLint fixers and direct code refactoring.

React Native 0.87 - Strict TypeScript API, Metro Update, Swift Package Manager, AGP 9 Support

In addition to TypeScript enhancements, version 0.87 updates the Metro bundler from version 0.84 to 0.87. This update delivers a faster, leaner bundling experience, reducing build latency and improving memory efficiency during local development and production compilation cycles.

Experimental Swift Package Manager Support Transforms iOS Workflows

For iOS developers, React Native 0.87 introduces a highly anticipated experimental feature: native support for the Swift Package Manager (SwiftPM) as an alternative to CocoaPods. Historically, React Native projects on Apple platforms have relied heavily on CocoaPods for native dependency management, a system that requires Ruby, Bundler, and a separate pod install execution step after every dependency modification.

The new SwiftPM integration is fully additive and opt-in, allowing CocoaPods to remain the default supported path for the time being. However, the introduction of SwiftPM offers a streamlined alternative that interacts directly with prebuilt XCFrameworks published by React Native. By running a single command (npx react-native spm --deintegrate), developers can inject Swift package references directly into their existing .xcodeproj files without disrupting code signing, app capabilities, or build phases.

A major advantage of this experimental workflow is the elimination of repetitive dependency installation commands. Once initialized, adding or removing a native package automatically triggers autolinking during the standard build process, removing the need to remember manual post-installation steps. To accommodate this architectural shift, React Native has restructured its precompiled binaries, introducing header-only frameworks to satisfy SwiftPM’s strict requirements regarding XCFramework structure and header locations. While the content of these headers remains byte-identical to legacy pods, developers utilizing bare-form angle brackets for imports will need to update their syntax to include standard namespace prefixes (e.g., changing #import <RCTAppDelegate.h> to #import <React/RCTAppDelegate.h>).

Android Ecosystem Evolution: Android Gradle Plugin 9

On the Android side of the ecosystem, React Native 0.87 marks the official introduction of support for the Android Gradle Plugin (AGP) 9.0. As a major release from Google, AGP 9 brings a series of profound API updates and breaking changes to Gradle build mechanics.

Because AGP 9 introduces fundamental shifts in how builds are processed, the React Native core team recommends that developers temporarily opt out of built-in Kotlin and new Domain-Specific Language (DSL) behaviors shipped natively with AGP 9. Projects can achieve this stability by appending specific property flags—android.builtInKotlin=false and android.newDsl=false—into their android/gradle.properties configuration files. Maintainers have noted that these opt-out bridges will be phased out in future AGP 10.x releases as ecosystem-wide adoption solidifies.

React Native 0.87 - Strict TypeScript API, Metro Update, Swift Package Manager, AGP 9 Support

Minimum Toolchain Requirements and Breaking Changes

To support modern APIs and performance optimizations, version 0.87 raises the minimum toolchain requirements across the board. Developers must now upgrade their development environments to meet higher baselines:

  • Node.js: Minimum version raised to Node.js 22.
  • Android Development: Android Gradle Plugin (AGP) upgraded to version 9, alongside mandatory adoption of Kotlin 2.0 or higher.
  • iOS Development: Aligned with modern Xcode toolchain standards to support SwiftPM integration.

Alongside these baseline shifts, version 0.87 implements several API removals and deprecations to clean up the framework’s internal architecture. Outdated modules and legacy bridging utilities that have lingered through previous deprecation cycles have been permanently purged. These removals are designed to reduce the overall binary footprint of React Native applications and improve runtime execution speeds on both mobile operating systems.

Chronology, Upgrade Paths, and Industry Implications

The release of React Native 0.87 follows a predictable yet accelerated release cadence maintained by the core engineering group. Following the initial preview of the Strict TypeScript API in version 0.80, community feedback and extensive testing paved the way for its mandatory default status in this current build. With version 0.87 now reigning as the latest stable release, the older 0.84.x branch has officially transitioned to an unsupported status in accordance with the project’s formal support lifecycle policy.

For engineering teams looking to adopt version 0.87, the upgrade path involves a combination of automated tooling and manual code adjustments. Existing projects are advised to utilize the official React Native Upgrade Helper to inspect exact code diffs between versions. New projects can be initialized immediately via the command line interface using npx @react-native-community/cli@latest init MyProject --version latest, while developers utilizing the Expo ecosystem can anticipate integration within upcoming expo@canary releases.

The broader implications of React Native 0.87 point toward a more disciplined, type-safe, and tooling-agnostic future for cross-platform mobile development. By embracing modern JavaScript typing standards, reducing reliance on legacy Ruby-based dependency managers on iOS, and staying synchronized with the latest Android build pipelines, the React Native maintainers are ensuring that the framework remains competitive against native development and alternative cross-platform ecosystems. As enterprises increasingly demand robust maintainability and high performance, updates like version 0.87 provide the necessary structural integrity to build scalable, long-lasting mobile applications.

]]>
https://codeguilds.com/react-native-0-87-arrives-with-strict-typescript-by-default-swiftpm-support-and-raised-toolchain-baselines/feed/ 0
React Native 0.87 Arrives with Default Strict TypeScript, Swift Package Manager Support, and Higher Toolchain Baselines https://codeguilds.com/react-native-0-87-arrives-with-default-strict-typescript-swift-package-manager-support-and-higher-toolchain-baselines-2/ https://codeguilds.com/react-native-0-87-arrives-with-default-strict-typescript-swift-package-manager-support-and-higher-toolchain-baselines-2/#respond Mon, 28 Sep 2026 23:01:27 +0000 https://codeguilds.com/react-native-0-87-arrives-with-default-strict-typescript-swift-package-manager-support-and-higher-toolchain-baselines-2/ The cross-platform mobile development landscape shifted once again as the core development team officially announced the release of React Native 0.87. This major milestone version introduces several structural enhancements aimed at modernizing the framework’s internal architecture, improving developer experience, and tightening integration with native toolchains on both iOS and Android. Among the most notable updates are the transition of the Strict TypeScript API to the default JavaScript interface, an upgrade to Metro 0.87, experimental support for the Swift Package Manager (SwiftPM), and significant bumps to minimum toolchain requirements, including Node.js 22 and Kotlin 2.0+.

The rollout of version 0.87 follows a predictable release cadence that emphasizes stability, performance, and long-term ecosystem health. As mobile operating systems evolve and developer tooling advances, frameworks like React Native must continually adapt to leverage modern language features and build systems. Version 0.87 addresses technical debt while laying the groundwork for a more streamlined, predictable development lifecycle across platforms.

Main Facts and Core Upgrades

The headline feature of React Native 0.87 is the promotion of the Strict TypeScript API to the default JavaScript interface for all new and upgraded projects. Originally introduced as an opt-in preview in version 0.80 alongside the deprecation of deep imports, this strict typing model brings intentional breaking changes designed to enforce cleaner code and richer editor feedback. Developers hovering over components such as TextInput will now encounter comprehensive type information and doc comments directly within their integrated development environments (IDEs).

While the transition to the Strict TypeScript API is expected to require minor adjustments for existing codebases, the core team has provided dedicated migration documentation and an ESLint fixer. For development teams unable to migrate immediately, a temporary opt-in bridge remains available through React Native 0.88 via a custom condition ("react-native-legacy-deep-imports") in the project’s tsconfig.json file. However, legacy TypeScript types are scheduled for complete removal in the subsequent release.

Concurrently, the JavaScript bundler Metro has been updated from version 0.84 to 0.87, bringing performance optimization and enhanced bundling mechanics. This update aligns with the framework’s overarching goal of reducing build bottlenecks and accelerating iteration times for developers working on large-scale applications.

React Native 0.87 - Strict TypeScript API, Metro Update, Swift Package Manager, AGP 9 Support

Chronology and Background Context

The journey toward React Native 0.87 began months earlier with incremental previews and community consultations. The rollout of the Strict TypeScript API first took shape in version 0.80, where developers were given their initial opportunity to test the stricter definitions and adapt their libraries. Throughout subsequent iterations, the core maintainers collaborated closely with ecosystem partners and library maintainers to refine root exports and resolve incompatibilities.

The introduction of experimental Swift Package Manager (SwiftPM) support represents another historical shift for the framework’s iOS ecosystem. For years, CocoaPods has served as the undisputed standard for dependency management in iOS React Native projects. However, managing Ruby dependencies, Bundler, and complex Podfile configurations has occasionally presented friction points for developers. By introducing an additive, opt-in SwiftPM integration path that consumes prebuilt XCFrameworks, the team is exploring a future where Xcode alone suffices for native iOS project management.

Supporting Data and Technical Specifications

React Native 0.87 is built upon a substantially raised baseline of toolchain requirements, reflecting the rapid pace of advancement in the broader software engineering ecosystem. Developers upgrading to or initiating projects on version 0.87 must ensure their environments satisfy the following minimum specifications:

  • Node.js 22
  • Android Gradle Plugin (AGP) 9
  • Kotlin 2.0+

The inclusion of AGP 9 support is particularly significant for Android developers, as AGP 9.0 introduces substantial API and build behavior alterations. Because AGP 9 brings major changes to Gradle builds, the current recommendation for React Native 0.87 projects is to explicitly opt out of built-in Kotlin and the new DSL behavior by adding specific properties (android.builtInKotlin=false and android.newDsl=false) to the android/gradle.properties file. These temporary flags are expected to be phased out in future AGP releases as ecosystem adoption matures.

On the iOS side, adopting SwiftPM required a fundamental rethinking of how precompiled binaries are distributed. SwiftPM enforces stricter rules regarding XCFramework structure and header locations than CocoaPods. To satisfy these constraints, the framework now publishes dedicated header-only XCFrameworks. Consequently, developers must update bare-form angle includes in their native code—changing imports like #import <RCTAppDelegate.h> to the namespaced format #import <React/RCTAppDelegate.h>.

React Native 0.87 - Strict TypeScript API, Metro Update, Swift Package Manager, AGP 9 Support

Official Responses and Community Contributions

The release of React Native 0.87 was propelled by a massive collaborative effort. According to project metrics, the version incorporates 265 commits contributed by 74 distinct developers from across the global open-source community. The core team formally expressed gratitude to the community members whose dedication and significant contributions shaped the final build.

Community feedback has also driven specific tooling enhancements. For automated or agent-driven code migrations, specialized community skills such as /migrate-to-strict-api have been developed to streamline the transition process alongside standard ESLint automation. Furthermore, architectural proposals like RFC #0994 (detailing SwiftPM integration) and RFC #1006 (tracking ecosystem-wide AGP 9 adoption) continue to serve as transparent public forums for architectural debate and consensus-building.

Broader Impact and Implications

The release of React Native 0.87 carries profound implications for the mobile development community, signaling a decisive move toward stricter type safety and more modern build toolchains. By making the Strict TypeScript API the default, the framework is aligning itself with industry best practices seen in modern backend and frontend web development, where rigorous typing significantly reduces runtime errors and enhances maintainability.

Furthermore, the experimental introduction of Swift Package Manager hints at a future where iOS development within the React Native ecosystem is less reliant on Ruby-based toolchains, potentially lowering the barrier to entry for developers coming from native Swift backgrounds or web environments. While CocoaPods remains fully supported and remains the default for this release, the groundwork laid by SwiftPM support opens a viable path toward a faster, more streamlined Xcode-native workflow.

As version 0.87 takes its place as the latest stable release—thereby moving version 0.84.x into unsupported territory according to official support policies—development teams are encouraged to consult the React Native Upgrade Helper and review their project configurations. By embracing these modernizations, the React Native ecosystem continues to cement its position as a robust, enterprise-grade solution for cross-platform mobile application development.

]]>
https://codeguilds.com/react-native-0-87-arrives-with-default-strict-typescript-swift-package-manager-support-and-higher-toolchain-baselines-2/feed/ 0
React Native 0.87 Arrives with Strict TypeScript Defaults, SwiftPM Support, and Elevated Toolchain Requirements https://codeguilds.com/react-native-0-87-arrives-with-strict-typescript-defaults-swiftpm-support-and-elevated-toolchain-requirements/ https://codeguilds.com/react-native-0-87-arrives-with-strict-typescript-defaults-swiftpm-support-and-elevated-toolchain-requirements/#respond Sun, 27 Sep 2026 23:01:39 +0000 https://codeguilds.com/react-native-0-87-arrives-with-strict-typescript-defaults-swiftpm-support-and-elevated-toolchain-requirements/ The release of React Native 0.87 marks another pivotal step forward for the widely adopted cross-platform mobile development framework maintained by Meta and its open-source community. Available now as the latest stable version, this update introduces critical architectural shifts, modernizes internal tooling, and raises minimum requirements across both Android and iOS ecosystems. Most notably, version 0.87 transitions the Strict TypeScript API to the default JavaScript interface, introduces experimental integration with the Swift Package Manager (SwiftPM), upgrades Metro to version 0.87, and adds official support for the Android Gradle Plugin (AGP) version 9. Concurrently, version 0.84.x has officially reached its end-of-support lifecycle, pushing developers to transition to the newly minted standard.

Main Facts and Core Upgrades

At the core of the React Native 0.87 release is a deliberate push toward stronger typing, cleaner build pipelines, and faster dependency management. The headline feature is the widespread adoption of the Strict TypeScript API as the default for all new and existing projects. Originally introduced as an opt-in preview alongside the deprecation of deep imports in version 0.80, this strict typing format is now baked directly into the public JavaScript API.

The transition brings enhanced IDE experiences, providing rich doc comments on symbols such as the TextInput component, which now surfaces full type information and contextual documentation directly on hover. To assist development teams with this transition, maintainers have provided both ESLint fixers and an agent-driven upgrade skill via /migrate-to-strict-api. However, recognizing that enterprise applications and third-party libraries require time to adapt, the core team has implemented a temporary opt-in bridge. Developers can temporarily revert to legacy types by injecting the "react-native-legacy-deep-imports" custom condition into their tsconfig.json file, though this escape hatch is scheduled for removal in version 0.88.

Parallel to the TypeScript updates, version 0.87 elevates underlying performance through Metro 0.87, delivering a faster and leaner bundling engine. On the mobile platform fronts, iOS developers receive an experimental, additive alternative to CocoaPods via Swift Package Manager (SwiftPM). By leveraging prebuilt XCFrameworks, SwiftPM integration eliminates the need for Ruby, Bundler, and CocoaPods entirely, requiring only Xcode to manage native dependencies. Developers can execute a simple npx react-native spm --deintegrate command to transition existing projects without disrupting native signing, capabilities, or build phases. Subsequent native package installations automatically trigger autolinking without requiring manual pod install executions.

Chronology and Background Context

React Native 0.87 - Strict TypeScript API, Metro Update, Swift Package Manager, AGP 9 Support

The journey toward React Native 0.87 has been shaped by months of community-driven proposals and architectural reviews. The groundwork for the Strict TypeScript API was laid in mid-2025 with the release of version 0.80, which signaled the systematic deprecation of deep imports and invited early adopters to test strict typing paradigms. Over subsequent minor releases, the core team collaborated closely with ecosystem partners to resolve incompatibilities across popular third-party libraries, culminating in the mandatory default status seen in version 0.87.

Similarly, the introduction of Swift Package Manager support stems from long-standing discussions within the iOS developer community regarding build times, dependency resolution bottlenecks, and the heavy dependency tree associated with Ruby and CocoaPods. Detailed in RFC #0994, the SwiftPM integration required a structural redesign of how React Native ships its precompiled binaries, dividing headers into dedicated frameworks to comply with SwiftPM’s rigorous module and header search path requirements.

On the Android side, the adoption of Android Gradle Plugin (AGP) 9 represents the framework’s ongoing synchronization with upstream Android development tooling. Because AGP 9 introduces fundamental breaking changes to Gradle build APIs, version 0.87 advises developers to temporarily opt out of built-in Kotlin and new DSL behaviors by configuring specific flags within their android/gradle.properties files. This transitional strategy aligns with RFC #1006, which tracks the broader ecosystem adaptation to AGP 9 ahead of its mandatory enforcement in future AGP 10.x releases.

Supporting Data and Ecosystem Metrics

React Native 0.87 is the collaborative product of 74 distinct contributors who collectively authored 265 commits for this release cycle. This high volume of contributions highlights the ongoing health and active engagement of the open-source community surrounding the framework.

To accommodate these modernizations, the minimum toolchain requirements have been systematically elevated. Developers upgrading to version 0.87 must ensure their development environments are equipped with Node.js 22, Android Gradle Plugin 9, and Kotlin 2.0 or higher. Furthermore, the sunsetting of version 0.84.x adheres to the established release and support policy maintained by the React Native Working Group, ensuring that core engineering resources remain concentrated on secure, modern, and high-performance iterations of the framework.

Broader Impact and Technical Implications

React Native 0.87 - Strict TypeScript API, Metro Update, Swift Package Manager, AGP 9 Support

The architectural adjustments in React Native 0.87 carry significant implications for the broader mobile application development landscape. By shifting the Strict TypeScript API to the default setting, Meta is enforcing a higher standard of code predictability and developer ergonomics across the ecosystem. Strict typing reduces runtime errors, improves code maintainability in large-scale enterprise codebases, and bridges the gap between JavaScript development and native systems programming.

The experimental inclusion of Swift Package Manager is perhaps the most consequential structural change for iOS developers in recent years. For teams encumbered by CocoaPods’ Ruby runtime dependencies and intermittent installation failures, SwiftPM offers a streamlined, native-first alternative that integrates directly into Xcode project files. While still labeled as experimental—with known limitations regarding static library configurations and specific third-party module maps—this move signals a future where React Native development on macOS relies less on external package managers and more on Apple’s native toolchain standards.

Concurrently, the readiness for AGP 9 ensures that Android engineers can leverage the latest performance improvements from Google’s Android build ecosystem without lagging behind on framework updates. Although transitional flags like android.builtInKotlin=false and android.newDsl=false are currently required, they provide a necessary bridge for developers to refactor custom Gradle scripts before AGP 10 makes these behaviors permanent.

Upgrading and Getting Started

Projects seeking to migrate to React Native 0.87 are encouraged to utilize the official React Native Upgrade Helper to inspect diffs and manage breaking changes effectively. Developers initiating brand-new applications can initialize their projects via the command line using npx @react-native-community/cli@latest init MyProject --version latest. Meanwhile, the Expo ecosystem is slated to incorporate React Native 0.87 within its upcoming canary release channels, ensuring that managed workflow users will soon have access to these foundational enhancements.

]]>
https://codeguilds.com/react-native-0-87-arrives-with-strict-typescript-defaults-swiftpm-support-and-elevated-toolchain-requirements/feed/ 0
React Native 0.87 Arrives with Strict TypeScript Default, Experimental SwiftPM Support, and Raised Toolchain Requirements https://codeguilds.com/react-native-0-87-arrives-with-strict-typescript-default-experimental-swiftpm-support-and-raised-toolchain-requirements/ https://codeguilds.com/react-native-0-87-arrives-with-strict-typescript-default-experimental-swiftpm-support-and-raised-toolchain-requirements/#respond Sun, 27 Sep 2026 11:01:02 +0000 https://codeguilds.com/react-native-0-87-arrives-with-strict-typescript-default-experimental-swiftpm-support-and-raised-toolchain-requirements/ The release of React Native 0.87 marks a significant milestone for the popular cross-platform mobile development framework, introducing architectural shifts, updated core tooling, and modernized baseline requirements. Announced today, version 0.87 transitions the Strict TypeScript API to the default JavaScript interface, updates Metro to version 0.87, introduces experimental support for the Swift Package Manager (SwiftPM), and elevates minimum toolchain requirements across both Android and Node.js environments. These updates collectively point toward a more robust, standardized, and performant ecosystem for mobile developers building native applications using JavaScript and TypeScript.

Background and Context of the Release

React Native has continually evolved since its open-source debut by Meta, shifting from a framework reliant on dynamic JavaScript bridges to a more strongly typed, highly optimized architecture built around the New Architecture and Fabric renderer. The journey toward strict typing began in earnest with version 0.80, which initially rolled out the Strict TypeScript API as an opt-in preview alongside the deprecation of deep imports.

Over the subsequent development cycles, the core team worked alongside community partners and library maintainers to refine root exports, eliminate compatibility roadblocks, and establish clearer boundaries for public APIs. Version 0.87 represents the culmination of this collaborative refinement, making strict typing the default standard for all fresh and upgraded projects. By enforcing strict types out of the box, the framework aims to reduce runtime errors, improve code predictability, and elevate the developer experience through comprehensive, glanceable hover documentation directly inside modern Integrated Development Environments (IDEs) like Visual Studio Code.

Strict TypeScript API Behaviours and Breaking Changes

The transition to the Strict TypeScript API as the default setting alters how developers interact with core components and symbols. Under the legacy typing system, hovering over components such as TextInput often yielded minimal or absent documentation. With the Strict API, developers gain access to full type information and rich doc comments directly within their IDE tooltips.

However, moving to a strict typing paradigm inherently introduces breaking changes across the public API surface. These changes require code modifications in existing applications, particularly for projects that previously relied on deep imports or legacy type definitions. To assist development teams with this transition, the React Native maintainers have provided detailed migration guides. Furthermore, agent-driven upgrades can leverage automated skills such as the /migrate-to-strict-api tool, which pairs direct migration instructions with existing ESLint fixers to streamline the process.

Recognizing that enterprise applications and third-party library ecosystems require time to adapt, the core team has implemented a temporary opt-out mechanism. Developers who are not yet ready to migrate can revert to the previous behavior through version 0.88 by adding the "react-native-legacy-deep-imports" custom condition to their project’s tsconfig.json file under compiler options. The React Native maintainers have explicitly stated that this opt-out bridge is temporary and that legacy TypeScript types will be permanently removed in the release following 0.88.

Experimental Swift Package Manager (SwiftPM) Integration on iOS

React Native 0.87 - Strict TypeScript API, Metro Update, Swift Package Manager, AGP 9 Support

One of the most anticipated additions in React Native 0.87 is the introduction of experimental support for the Swift Package Manager (SwiftPM) as an alternative to CocoaPods on Apple’s iOS platform. CocoaPods has long served as the default dependency manager for iOS development within the React Native ecosystem, but it relies heavily on a Ruby-based toolchain that can occasionally introduce friction during environment configuration and project builds.

The new SwiftPM integration is fully opt-in and additive, meaning CocoaPods remains both the default and fully supported path for iOS builds. Crucially, the SwiftPM workflow consumes the exact same prebuilt XCFrameworks that React Native already publishes. Transitioning an existing or new application requires Xcode alone, effectively removing the dependency on Ruby, Bundler, and CocoaPods for developers opting into the new workflow.

Developers can integrate SwiftPM into their projects using a dedicated CLI command: npx react-native spm --deintegrate. This command carefully injects Swift package references directly into the existing .xcodeproj file without overwriting the project structure, ensuring that app signing, capabilities, and build phases remain untouched. Reversing the process is similarly straightforward using the corresponding deinit command.

A notable advantage of the SwiftPM implementation is its automated handling of dependency changes. Unlike traditional CocoaPods workflows that require developers to repeatedly run pod install whenever native packages are added or removed, SwiftPM detects modifications automatically during the build phase and triggers autolinking in the background.

To support SwiftPM successfully, the core engineering team had to fundamentally rethink how precompiled binaries are shipped. Because SwiftPM enforces much stricter structural requirements regarding XCFramework architecture and header locations than CocoaPods, version 0.87 introduces dedicated header-only frameworks. This ensures standard framework and header search path mechanics resolve correctly, giving every namespace a single physical home. While header contents remain byte-identical to previous source pods, developers may need to update bare-form angle includes to explicit namespace forms—for example, shifting from #import <RCTAppDelegate.h> to #import <React/RCTAppDelegate.h>.

Ecosystem Tooling Updates: Metro and Android Gradle Plugin (AGP) 9

Performance and build-system modernizations form another core pillar of the 0.87 release. Metro, the JavaScript bundler optimized for React Native, has been updated from version 0.84 to 0.87. This update brings internal performance enhancements, faster bundling speeds, and improved memoization, resulting in a leaner development loop.

On the Android side, React Native 0.87 introduces official support for the Android Gradle Plugin (AGP) 9.0. As a major release from Google, AGP 9.0 brings substantial API modifications and breaking changes to Gradle-based Android builds. To ensure a smooth transition across the ecosystem, the React Native maintainers recommend that developers temporarily opt out of built-in Kotlin and the new DSL API behaviors bundled with AGP 9. These opt-outs can be managed by adding specific flags (android.builtInKotlin=false and android.newDsl=false) to the project’s android/gradle.properties file. These compatibility flags will remain supported until AGP 10.x, giving library maintainers adequate time to refactor their Gradle scripts.

Raised Minimum Toolchain Requirements

To support modern language features, security standards, and performance optimizations, React Native 0.87 significantly raises the baseline requirements for developer toolchains. Upgrading to this release mandates the following minimum versions:

React Native 0.87 - Strict TypeScript API, Metro Update, Swift Package Manager, AGP 9 Support
  • Node.js 22 or higher
  • Android Gradle Plugin (AGP) version 9
  • Kotlin 2.0 or higher

These elevated requirements reflect the broader software industry’s movement toward modern runtime environments. Node.js 22 brings performance improvements to the build tooling, while Kotlin 2.0 provides advanced language features and compiler optimizations essential for native Android integration within modern React Native architectures.

Community Contributions and Upgrade Pathways

The delivery of React Native 0.87 is the result of a concerted community effort, incorporating 265 commits contributed by 74 individual developers. The core maintainers extended official acknowledgements to the community members who delivered significant architectural contributions, bug fixes, and documentation updates leading up to the stable launch.

With the release of version 0.87, the older 0.84.x release line officially moves to an unsupported status in accordance with React Native’s established support policy. Developers seeking to upgrade existing applications are advised to utilize the official React Native Upgrade Helper to inspect exact code diffs and configuration adjustments required for their specific project setups.

For newly initialized applications, developers can generate an 0.87 project directly using the community CLI:
npx @react-native-community/cli@latest init MyProject --version latest

Meanwhile, projects utilizing the Expo framework can expect React Native 0.87 to roll out as part of upcoming canary releases, allowing Expo developers to test the new strict types, updated Metro bundler, and experimental SwiftPM capabilities within managed workflows.

Broader Implications and Industry Outlook

The release of React Native 0.87 underscores the framework’s ongoing maturity and its alignment with modern software engineering standards. By establishing strict typing as the default, Meta and the React Native community are addressing long-standing enterprise concerns regarding code maintainability and large-scale refactoring safety.

Furthermore, the introduction of experimental Swift Package Manager support signals a pragmatic approach to reducing friction in iOS development environments. By offering an alternative to CocoaPods that relies purely on Xcode and prebuilt XCFrameworks, React Native is bridging the gap between cross-platform convenience and native Apple ecosystem tooling standards. As developers and library maintainers adopt these new standards over the coming months, version 0.87 is expected to pave the way for faster, safer, and more streamlined mobile application development across both iOS and Android platforms.

]]>
https://codeguilds.com/react-native-0-87-arrives-with-strict-typescript-default-experimental-swiftpm-support-and-raised-toolchain-requirements/feed/ 0