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
This commit is contained in:
Samuel Susla
2023-06-30 05:12:39 -07:00
committed by Facebook GitHub Bot
parent 835f62c189
commit 5bda54c1f1
@@ -23,9 +23,6 @@ bool EmptyReactNativeConfig::getBool(const std::string &param) const {
if (param == "react_fabric:enabled_layout_animations_ios") {
return true;
}
if (param == "react_fabric:enable_nstextstorage_caching") {
return true;
}
return false;
}