From 249435c4d5750603e8000cbb3860fb286dd0913a Mon Sep 17 00:00:00 2001 From: Tim Yung Date: Wed, 2 Jun 2021 09:42:29 -0700 Subject: [PATCH] RN: Cleanup `collapsable` Experiment (iOS) Summary: With the conclusion of D27944688 (https://github.com/facebook/react-native/commit/925af8ddea040a352d37a5c0a9275d0754e47bf7), this backs out the experiment introduced via D27987619 (https://github.com/facebook/react-native/commit/f598dd0ee3670075e8f9480aeb1489e7ad5c63e8). Changelog: [Internal] Reviewed By: kacieb Differential Revision: D28799741 fbshipit-source-id: 607ee85db26326e13dd8ddb52f5aebb732e9a354 --- Libraries/Components/View/ViewInjection.js | 13 ------------- Libraries/Components/View/ViewNativeComponent.js | 10 ---------- 2 files changed, 23 deletions(-) delete mode 100644 Libraries/Components/View/ViewInjection.js diff --git a/Libraries/Components/View/ViewInjection.js b/Libraries/Components/View/ViewInjection.js deleted file mode 100644 index d67512f5a57c47..00000000000000 --- a/Libraries/Components/View/ViewInjection.js +++ /dev/null @@ -1,13 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - * - * @flow strict - * @format - */ - -export default { - unstable_enableCollapsable: false, -}; diff --git a/Libraries/Components/View/ViewNativeComponent.js b/Libraries/Components/View/ViewNativeComponent.js index 4510d9bdab199b..4ca5ec9cf3c479 100644 --- a/Libraries/Components/View/ViewNativeComponent.js +++ b/Libraries/Components/View/ViewNativeComponent.js @@ -13,10 +13,8 @@ import {type HostComponent} from '../../Renderer/shims/ReactNativeTypes'; import Platform from '../../Utilities/Platform'; import codegenNativeCommands from '../../Utilities/codegenNativeCommands'; import ReactNativeViewViewConfigAndroid from './ReactNativeViewViewConfigAndroid'; -import ViewInjection from './ViewInjection'; import {type ViewProps as Props} from './ViewPropTypes'; import * as React from 'react'; -import ReactNativeViewConfigRegistry from '../../Renderer/shims/ReactNativeViewConfigRegistry'; const ViewNativeComponent: HostComponent = NativeComponentRegistry.get( 'RCTView', @@ -26,14 +24,6 @@ const ViewNativeComponent: HostComponent = NativeComponentRegistry.get>,