Skip to content

[Due for payment 2026-08-21] Upgrade RN to 0.86 and Expo SDK 57 #96278

Closed
5 of 5 issues completed
Closed

Description

@mountiny

Upgrade React Native (RN) to the Latest Version for Enhanced Performance and Compatibility

Background

Over time, our codebase has grown to include numerous custom patches, and the open-source ecosystem around React Native continues to evolve with frequent updates, performance improvements, and new features. Third-party libraries often adapt quickly to these changes.

Expo SDK 57 is a focused release that brings React Native 0.86 to Expo. RN 0.86 is intended to have no breaking changes from 0.85, and React stays on 19.2.3. See the Expo SDK 57 changelog and RN 0.86 release notes.

This follows #91629 (RN 0.85 / Expo SDK 56), which is now deployed to production.

Problem

Staying on RN 0.85 / Expo SDK 56 delays compatibility with the latest Expo ecosystem, misses RN 0.86 fixes (Android edge-to-edge, DevTools light/dark mode, rendering/layout fixes), and leaves us on bundled dependency versions that SDK 57 has already validated together.

Solution

  • Upgrade React Native to 0.86 and Expo SDK to 57
  • Upgrade prerequisite dependencies bundled with SDK 57 (see sub-issues below) before the main bump PR
  • Audit and remove unnecessary patches
  • Coordinate parallel PRs in App (NewDot) and Mobile-Expensify (OldDot / HybridApp)
  • Conduct thorough testing for stability across web, iOS, and Android

Prerequisite dependency upgrades (file as sub-issues when work begins)

SDK 57 bundles newer versions of these libraries. Follow the #91629 pattern: land each on current RN 0.85 / SDK 56 before the main bump.

Dependency Current (main) SDK 57 target Notes
react-native-worklets 0.8.3 ~0.10 Upgrade first; version alignment with reanimated is critical
react-native-reanimated 4.3.1 ~4.5 After worklets; watch for Hermes V1 memory regression
react-native-gesture-handler 2.28.0 ~2.32 Can likely land independently

Issue Owner
Current Issue Owner: @jakubstec

Issue OwnerCurrent Issue Owner: @war-in

Activity

  1. mountiny commented on Jul 16, 2026

    @mountiny
    ContributorAuthor

    Created sub-issues for the prerequisite dependency upgrades:

    1. [HOLD https://github.com/Expensify/App/issues/95736] Upgrade react-native-worklets before RN 0.86 bump #96279 — Upgrade react-native-worklets before RN 0.86 bump
    2. [HOLD https://github.com/Expensify/App/issues/95736] Upgrade react-native-reanimated before RN 0.86 bump #96280 — Upgrade react-native-reanimated before RN 0.86 bump
    3. [Due for payment 2026-07-29] Upgrade react-native-gesture-handler before RN 0.86 bump #96281 — Upgrade react-native-gesture-handler before RN 0.86 bump

    Worklets should go first, then reanimated. Gesture handler can land independently. All must land before the main RN 0.86 / Expo SDK 57 bump PR.

  2. mountiny commented on Jul 16, 2026

    @mountiny
    ContributorAuthor

    @jakubstec @war-in I hope the usb issues are right if not let me know

    Also if you will need other subissues, let me know

  3. jakubstec commented on Jul 16, 2026

    @jakubstec
    Member

    react-native-gesture-handler - opened for review! edit: merged!
    ND: #96316
    OD: https://github.com/Expensify/Mobile-Expensify/pull/14016

    react-native-worklets - will be handled here #95736

    react-native-reanimated - will be handled alongside worklets here #95736

  4. 26 remaining items

  5. melvin-bot commented on Aug 14, 2026

    @melvin-bot

    @Julesssss / @mountiny / @roryabraham @war-in / @jakubstec

    The solution for this issue has been 🚀 deployed to production 🚀 in version 9.4.53-10 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

    If no regressions arise, payment will be issued on 2026-08-21. 🎊

    The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]. If no checklist is needed for this issue, you can click: [no checklist button]

  6. melvin-bot commented on Aug 14, 2026

    @melvin-bot

    ⚠️ Looks like this issue was linked to a Deploy Blocker here

    If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

    If a regression has occurred and you are the assigned CM follow the instructions here.

    If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.

  7. melvin-bot commented on Aug 17, 2026

    @melvin-bot

    @war-in Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

  8. melvin-bot commented on Aug 19, 2026

    @melvin-bot

    @war-in Eep! 4 days overdue now. Issues have feelings too...

  9. war-in commented on Aug 20, 2026

    @war-in
    Contributor

    #98493 was confirmed to be unrelated to the React Native upgrade

  10. melvin-bot commented on Aug 25, 2026

    @melvin-bot

    @war-in Huh... This is 4 days overdue. Who can take care of this?

  11. war-in commented on Aug 26, 2026

    @war-in
    Contributor

    PRs fixing remaining regressions have been merged - #96278 (comment)

    @mountiny I think we're ready to close this issue

  12. mountiny commented on Aug 30, 2026

    @mountiny
    ContributorAuthor

    Nice one, looks like we dont need to handle any payments here.

    Thank you all!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

DailyKSv2EngineeringInternalRequires API changes or must be handled by Expensify staffTask

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions