ReactFeatureFlags.mFabricEnabled should default to ReactFeatureFlags.enableFabricRenderer (#44087)

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

The `mFabricEnabled` field is initialized to false. This is a misalignment with how other classes are behaving like
ReactActivityDelegate.

Changelog:
[Internal] [Changed] - ReactFeatureFlags.mFabricEnabled should default to ReactFeatureFlags.enableFabricRenderer

Reviewed By: arushikesarwani94

Differential Revision: D56013057

fbshipit-source-id: fcab903ab42d3b30094dcebbcf5b662cd2f2c506
This commit is contained in:
Nicola Corti
2024-04-15 07:51:50 -07:00
committed by Facebook GitHub Bot
parent 5d538ec105
commit 718041a9e4
@@ -42,7 +42,7 @@ public class ReactDelegate {
@Nullable private ReactSurface mReactSurface;
private boolean mFabricEnabled = false;
private boolean mFabricEnabled = ReactFeatureFlags.enableFabricRenderer;
/**
* Do not use this constructor as it's not accounting for New Architecture at all. You should