[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:
- This change
- 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
- 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