mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fabric should be enabled or disabled app-wide without entrypoint-specific options
Summary: Add new ReactFeatureFlag to enable or disable Fabric appwide. Changelog: [Internal] Reviewed By: fkgozali Differential Revision: D30504714 fbshipit-source-id: f615d4c888a89f5401b0ff8f8305fdfbdf75fba3
This commit is contained in:
committed by
Facebook GitHub Bot
parent
2bcc6fac38
commit
8c4912a42f
@@ -25,6 +25,12 @@ public class ReactFeatureFlags {
|
||||
*/
|
||||
public static volatile boolean useTurboModules = false;
|
||||
|
||||
/**
|
||||
* Should this application use the new (Fabric) Renderer? If yes, all rendering in this app will
|
||||
* use Fabric instead of the legacy renderer.
|
||||
*/
|
||||
public static volatile boolean enableFabricRenderer = 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