Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3355423
D11527.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D11527.diff
View Options
diff --git a/patches/react-native+0.70.9.patch b/patches/react-native+0.70.9.patch
--- a/patches/react-native+0.70.9.patch
+++ b/patches/react-native+0.70.9.patch
@@ -16,6 +16,18 @@
/**
* When the clear button should appear on the right side of the text view.
* This property is supported only for single-line TextInput component.
+diff --git a/node_modules/react-native/Libraries/Lists/FlatList.js b/node_modules/react-native/Libraries/Lists/FlatList.js
+index a569626..1ea1c03 100644
+--- a/node_modules/react-native/Libraries/Lists/FlatList.js
++++ b/node_modules/react-native/Libraries/Lists/FlatList.js
+@@ -295,7 +295,6 @@ export type Props<ItemT> = {
+ * Also inherits [ScrollView Props](docs/scrollview.html#props), unless it is nested in another FlatList of same orientation.
+ */
+ class FlatList<ItemT> extends React.PureComponent<Props<ItemT>, void> {
+- props: Props<ItemT>;
+ /**
+ * Scrolls to the end of the content. May be janky without `getItemLayout` prop.
+ */
diff --git a/node_modules/react-native/Libraries/Lists/VirtualizedList.js b/node_modules/react-native/Libraries/Lists/VirtualizedList.js
index 69e6309..5343e6a 100644
--- a/node_modules/react-native/Libraries/Lists/VirtualizedList.js
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 24, 2:30 PM (21 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2576324
Default Alt Text
D11527.diff (1 KB)
Attached To
Mode
D11527: [native] Patch react-native to avoid FlatList this.props error
Attached
Detach File
Event Timeline
Log In to Comment