Introduce soft exceptions in the bridgeless core

Summary: Changelog: [Internal]

Reviewed By: fkgozali

Differential Revision: D40824468

fbshipit-source-id: c840610e923c35cc5c36b37e5c580d0296c1e46b
This commit is contained in:
Ramanpreet Nara
2022-11-01 17:14:11 -07:00
committed by Facebook GitHub Bot
parent 91d58cf5b5
commit 7964d484bc
@@ -37,6 +37,11 @@ public class ReactFeatureFlags {
*/
public static boolean enableBridgelessArchitecture = false;
/**
* Does the bridgeless architecture log soft exceptions. Could be useful for tracking down issues.
*/
public static volatile boolean enableBridgelessArchitectureSoftExceptions = 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