Back out "Roll out turbo_module_binding_mode experiment"

Summary: Changelog: [Internal]

Reviewed By: jpporto

Differential Revision: D38666524

fbshipit-source-id: af5b1cf2d2db505341ce0992401cb68909e1395b
This commit is contained in:
Oleksandr Melnykov
2022-08-12 12:41:08 -07:00
committed by Facebook GitHub Bot
parent 6fcfe2e1b3
commit 23429330a6
5 changed files with 65 additions and 10 deletions
@@ -116,6 +116,17 @@ public class ReactFeatureFlags {
/** Feature Flag to control RN Android scrollEventThrottle prop. */
public static boolean enableScrollEventThrottle = false;
/**
* Feature flag that controls how turbo modules are exposed to JS
*
* <ul>
* <li>0 = as a HostObject
* <li>1 = as a plain object, backed with a HostObject as prototype
* <li>2 = as a plain object, with all methods eagerly configured
* </ul>
*/
public static int turboModuleBindingMode = 0;
/**
* Feature Flag to enable View Recycling. When enabled, individual ViewManagers must still opt-in.
*/