Skip to content

Commit

Permalink
Create FeatureFlag to gate Stable API for Turbo Module (#39479)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #39479

The goal of this diff is to create a feature flag that will be used to enable/disable Stable API for Turbo Module.
This featureflag will be used to experiment with the new API in fb4a

changelog: [intenral] internal

Reviewed By: arushikesarwani94

Differential Revision: D49212022

fbshipit-source-id: 4f4830f11ba18ad849dc8b35f4e178e938b03fc9
  • Loading branch information
mdvacca authored and facebook-github-bot committed Sep 16, 2023
1 parent 2be409f commit 4919741
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,4 +162,7 @@ public class ReactFeatureFlags {

/** When enabled, rawProps in Props will not include Yoga specific props. */
public static boolean excludeYogaFromRawProps = false;

/** Enables Stable API for TurboModule (removal of ReactModule, ReactModuleInfoProvider). */
public static boolean enableTurboModuleStableAPI = false;
}

0 comments on commit 4919741

Please sign in to comment.