Commit ec5b3cb
committed
Delete useTurboModules() from ReactNativeNewArchitectureFeatureFlags
Summary:
The `useTurboModules()` flag is being removed entirely; it was always set to true in the canary release stage. All callers of `ReactNativeNewArchitectureFeatureFlags.useTurboModules()` were inlined in earlier diffs.
This diff:
- Removes the wrapper method `ReactNativeNewArchitectureFeatureFlags.useTurboModules()`.
- Removes the `override fun useTurboModules(): Boolean = true` from `ReactNativeNewArchitectureFeatureFlagsDefaults`.
Both classes are non-`generated`, so they are edited directly. A follow-up diff will flip the underlying `ReactNativeFeatureFlags.useTurboModules()` default to `true` and ultimately remove the API by regenerating the codegen output.
Behavior is unchanged.
Changelog:
[Internal]
Differential Revision: D1057182021 parent 91d1b9c commit ec5b3cb
2 files changed
Lines changed: 0 additions & 14 deletions
File tree
- packages/react-native/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags
Lines changed: 0 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | 61 | | |
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
33 | 31 | | |
0 commit comments