Create FeatureFlag to gate Stable API for Turbo Module (#39479)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/39479

The goal of this diff is to create a feature flag that will be used to enable/disable Stable API for Turbo Module.
This featureflag will be used to experiment with the new API in fb4a

changelog: [intenral] internal

Reviewed By: arushikesarwani94

Differential Revision: D49212022

fbshipit-source-id: 4f4830f11ba18ad849dc8b35f4e178e938b03fc9
This commit is contained in:
David Vacca 2023-09-15 17:37:58 -07:00 коммит произвёл Facebook GitHub Bot
Родитель 2be409ff55
Коммит 49197411d8
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -162,4 +162,7 @@ public class ReactFeatureFlags {
/** When enabled, rawProps in Props will not include Yoga specific props. */
public static boolean excludeYogaFromRawProps = false;
/** Enables Stable API for TurboModule (removal of ReactModule, ReactModuleInfoProvider). */
public static boolean enableTurboModuleStableAPI = false;
}