mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Override useShadowNodeStateOnClone for OSS (#51041)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/51041 Enabling `useShadowNodeStateOnClone` by default on OSS to resolve https://github.com/facebook/react-native/issues/49694 Changelog: [Internal] Reviewed By: cortinico, cipolleschi Differential Revision: D73970421 fbshipit-source-id: 4021c9fc07a7fc28012c022f6131409486e8aea7
This commit is contained in:
committed by
Facebook GitHub Bot
parent
e1d2285791
commit
07073fbac8
+2
@@ -19,4 +19,6 @@ public class ReactNativeFeatureFlagsOverrides_RNOSS_Stable_Android(
|
||||
override fun useTurboModules(): Boolean = bridgelessEnabled || turboModulesEnabled
|
||||
|
||||
override fun updateRuntimeShadowNodeReferencesOnCommit(): Boolean = true
|
||||
|
||||
override fun useShadowNodeStateOnClone(): Boolean = true
|
||||
}
|
||||
|
||||
+3
@@ -29,5 +29,8 @@ class ReactNativeFeatureFlagsOverridesOSSStable
|
||||
bool updateRuntimeShadowNodeReferencesOnCommit() override {
|
||||
return true;
|
||||
}
|
||||
bool useShadowNodeStateOnClone() override {
|
||||
return true;
|
||||
}
|
||||
};
|
||||
} // namespace facebook::react
|
||||
|
||||
Reference in New Issue
Block a user