HomePhabricator
Diffusion Comm a2a7c7ab349b

[native] Patch react-native to avoid FlatList this.props error

Description

[native] Patch react-native to avoid FlatList this.props error

Summary:
This solves ENG-7635, at least temporarily. It looks like it's this GitHub issue, first introduced by this change.

People on the GitHub issue have several suggestions:

  1. This change
  2. Removing @babel/plugin-transform-private-methods, which we could consider if we remove the private method uses in the transitive dependency that necessitates its introduction initially
  3. Adding a babel plugin somewhere that strips Flow types. I'll consider this one as I continue investigating

Test Plan: Confirm that the issue goes away after resetting the Metro cache (yarn dev -c) and refreshing the app

Reviewers: ginsu, will, atul

Reviewed By: ginsu

Subscribers: tomek

Differential Revision: https://phab.comm.dev/D11527

Details

Provenance
ashoatAuthored on Apr 2 2024, 1:34 PM
Reviewer
ginsu
Differential Revision
D11527: [native] Patch react-native to avoid FlatList this.props error
Parents
rCOMM36123e7fb7db: [native] Turn migration 64 into noop
Branches
Unknown
Tags
Unknown