Skip to content

Commit

Permalink
ReactFeatureFlags.mFabricEnabled should default to ReactFeatureFlags.…
Browse files Browse the repository at this point in the history
…enableFabricRenderer (facebook#44087)

Summary:
Pull Request resolved: facebook#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
  • Loading branch information
cortinico authored and facebook-github-bot committed Apr 15, 2024
1 parent 5d538ec commit 718041a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 718041a

Please sign in to comment.