From 914db09a8e608e56f7bab5b69d09155e41c8dd58 Mon Sep 17 00:00:00 2001 From: Samuel Susla Date: Fri, 30 Jun 2023 05:12:39 -0700 Subject: [PATCH] Disable nstextstorage_caching in OSS (#38129) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/38129 changelog: [iOS] Disable NSTextStorage caching in OSS A [bug was reported](https://github.com/facebook/react-native/issues/37944) for NSTextStorage caching. Even thought I fixed the bug in D47019250, I want to disable the feature in OSS until the fix is verified in Facebook app. My plan is to pick this commit for 0.72.1 and reenable NSTextStorage caching once the fix is validated. Reviewed By: NickGerleman Differential Revision: D47127912 fbshipit-source-id: 97694e383eb751e89b776c0599969f2c411bac6f --- .../ReactCommon/react/config/ReactNativeConfig.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/packages/react-native/ReactCommon/react/config/ReactNativeConfig.cpp b/packages/react-native/ReactCommon/react/config/ReactNativeConfig.cpp index 8dedd282808e35..9a496f92f4bcfd 100644 --- a/packages/react-native/ReactCommon/react/config/ReactNativeConfig.cpp +++ b/packages/react-native/ReactCommon/react/config/ReactNativeConfig.cpp @@ -24,9 +24,6 @@ bool EmptyReactNativeConfig::getBool(const std::string ¶m) const { if (param == "react_fabric:enabled_layout_animations_ios") { return true; } - if (param == "react_fabric:enable_nstextstorage_caching") { - return true; - } return false; }