From 8770151a77069da9ea3d4fc7a02027cce5318752 Mon Sep 17 00:00:00 2001 From: Eli White Date: Fri, 11 Oct 2019 09:44:48 -0700 Subject: [PATCH] List: Remove invalid props Summary: These props were pretty much all typos and thus didn't do anything. My two choices are to change the code to do what it seems it *intends*, or keep the behavior the same. To de-risk, I'm preferring to keep the behavior the same. Changelog: [Internal] Differential Revision: D17834712 fbshipit-source-id: 2f6b6376ff5936d4ad20291022c043ff7808bac4 --- RNTester/js/components/RNTesterExampleList.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/RNTester/js/components/RNTesterExampleList.js b/RNTester/js/components/RNTesterExampleList.js index 63b8a0cb695..0df54d19af0 100644 --- a/RNTester/js/components/RNTesterExampleList.js +++ b/RNTester/js/components/RNTesterExampleList.js @@ -147,8 +147,6 @@ class RNTesterExampleList extends React.Component { style={{backgroundColor: theme.SystemBackgroundColor}} sections={filteredSections} renderItem={this._renderItem} - enableEmptySections={true} - itemShouldUpdate={this._itemShouldUpdate} keyboardShouldPersistTaps="handled" automaticallyAdjustContentInsets={false} keyboardDismissMode="on-drag" @@ -167,10 +165,6 @@ class RNTesterExampleList extends React.Component { ); } - _itemShouldUpdate(curr, prev) { - return curr.item !== prev.item; - } - _renderItem = ({item, separators}) => (