mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
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:
committed by
Facebook GitHub Bot
parent
5d538ec105
commit
718041a9e4
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user