mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Added bridgeless feature flag
Summary: Adding a flag to prepare for the phase 3 of the new architecture. This is still work in progress, not usable yet. Changelog: [Internal] Reviewed By: RSNara Differential Revision: D36767843 fbshipit-source-id: 338d775681f2890461608b403749c3a7f05f84ff
This commit is contained in:
committed by
Facebook GitHub Bot
parent
a68dca3c46
commit
8db233670f
@@ -31,6 +31,12 @@ public class ReactFeatureFlags {
|
||||
*/
|
||||
public static volatile boolean enableFabricRenderer = false;
|
||||
|
||||
/**
|
||||
* Feature flag to enable the new bridgeless architecture. Note: Enabling this will force enable
|
||||
* the following flags: `useTurboModules` & `enableFabricRenderer`.
|
||||
*/
|
||||
public static boolean enableBridgelessArchitecture = false;
|
||||
|
||||
/**
|
||||
* After TurboModules and Fabric are enabled, we need to ensure that the legacy NativeModule isn't
|
||||
* isn't used. So, turn this flag on to trigger warnings whenever the legacy NativeModule system
|
||||
|
||||
Reference in New Issue
Block a user