Skip to content

Commit

Permalink
Do not guard initializeFlipper for bridgeless for RN Tester
Browse files Browse the repository at this point in the history
Summary:
We don't need this if-than-else because the initializeFlipper already checks if we're on bridgeless or not

Changelog:
[Internal] [Changed] - Do not guard initializeFlipper for bridgeless for RN Tester

Reviewed By: NickGerleman

Differential Revision: D49881903

fbshipit-source-id: e6bfc941b43382580bd418a5f27ad9426d300c69
  • Loading branch information
cortinico authored and huntie committed Oct 19, 2023
1 parent 04e1726 commit 398352e
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,7 @@ class RNTesterApplication : Application(), ReactApplication {
if (BuildConfig.IS_NEW_ARCHITECTURE_ENABLED) {
load()
}
if (ReactFeatureFlags.enableBridgelessArchitecture) {
// TODO: initialize Flipper for Bridgeless
} else {
initializeFlipper(this, reactNativeHost.reactInstanceManager)
}
initializeFlipper(this, reactNativeHost.reactInstanceManager)
}

@UnstableReactNativeAPI
Expand Down

0 comments on commit 398352e

Please sign in to comment.