mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Revert D81766029: Make feature flag "enableViewRecyclingForScrollView" true by default
Differential Revision: D81766029 Original commit changeset: df4a260b9bde Original Phabricator Diff: D81766029 fbshipit-source-id: f1cd2a2cef632cfe9cbf0cd13e9ec20cfa5cc6ae
This commit is contained in:
committed by
Facebook GitHub Bot
parent
dae2f606c7
commit
44b2da0df2
+2
-2
@@ -4,7 +4,7 @@
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*
|
||||
* @generated SignedSource<<88256ff0f51c33caee5af50bb3424288>>
|
||||
* @generated SignedSource<<7c4c3bf6b720f3e15fb97d8f1a4d74ba>>
|
||||
*/
|
||||
|
||||
/**
|
||||
@@ -101,7 +101,7 @@ public open class ReactNativeFeatureFlagsDefaults : ReactNativeFeatureFlagsProvi
|
||||
|
||||
override fun enableViewRecyclingForImage(): Boolean = true
|
||||
|
||||
override fun enableViewRecyclingForScrollView(): Boolean = true
|
||||
override fun enableViewRecyclingForScrollView(): Boolean = false
|
||||
|
||||
override fun enableViewRecyclingForText(): Boolean = true
|
||||
|
||||
|
||||
+2
-2
@@ -4,7 +4,7 @@
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*
|
||||
* @generated SignedSource<<aadd0502215e90f98ea4e0d0c56824a3>>
|
||||
* @generated SignedSource<<68b40caf4c7d5d92cb5d5eb7bde74ab3>>
|
||||
*/
|
||||
|
||||
/**
|
||||
@@ -184,7 +184,7 @@ class ReactNativeFeatureFlagsDefaults : public ReactNativeFeatureFlagsProvider {
|
||||
}
|
||||
|
||||
bool enableViewRecyclingForScrollView() override {
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
bool enableViewRecyclingForText() override {
|
||||
|
||||
@@ -463,7 +463,7 @@ const definitions: FeatureFlagDefinitions = {
|
||||
ossReleaseStage: 'none',
|
||||
},
|
||||
enableViewRecyclingForScrollView: {
|
||||
defaultValue: true,
|
||||
defaultValue: false,
|
||||
metadata: {
|
||||
dateAdded: '2025-08-20',
|
||||
description:
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*
|
||||
* @generated SignedSource<<8b7c4c7178448a1ea3f55b4cdbe3b95e>>
|
||||
* @generated SignedSource<<1a00c3c154cd9e8afac7ad9333152ac6>>
|
||||
* @flow strict
|
||||
* @noformat
|
||||
*/
|
||||
@@ -360,7 +360,7 @@ export const enableViewRecyclingForImage: Getter<boolean> = createNativeFlagGett
|
||||
/**
|
||||
* Enables View Recycling for <ScrollView> via ReactViewGroup/ReactViewManager.
|
||||
*/
|
||||
export const enableViewRecyclingForScrollView: Getter<boolean> = createNativeFlagGetter('enableViewRecyclingForScrollView', true);
|
||||
export const enableViewRecyclingForScrollView: Getter<boolean> = createNativeFlagGetter('enableViewRecyclingForScrollView', false);
|
||||
/**
|
||||
* Enables View Recycling for <Text> via ReactTextView/ReactTextViewManager.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user