Skip to content

[Due for payment 2025-10-31] Upgrade react-native-web to 0.21.1+ #68951

@roryabraham

Description

@roryabraham

Coming from https://expensify.slack.com/archives/C05LX9D6E07/p1755765845631529

Proposal: Bump react-native-web to 0.21.1 🚀

Background

The react-native-web package is a key library for the App that runs react native in the browser. The version we’re using in the app is 0.20.0

Problem

In the current version of react-native-web I’ve discovered a big memory leak where detached animated DOM nodes were not being garbage collected. For the moment the fix I’ve written is located in one of the patch files.

Solution

Let’s bump react-native-web to 0.21.1. My fix for the leak has just been merged and released in the newest version which will allow us to remove the patch. The diff between 0.20.0 and 0.21.1 is actually pretty small. Excluding tests and package.json it’s only like 21 additions 14 deletions so there is a very small chance of regressions.

Issue OwnerCurrent Issue Owner: @CortneyOfstad

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.WeeklyKSv2

Type

No type

Projects

Status

LOW

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions