Commit 4b5de9e
Inline true for privateTurboModulesEnabled in DefaultNewArchitectureEntryPoint.loadWithFeatureFlags (#56924)
Summary:
Pull Request resolved: #56924
The `useTurboModules` flag is being deleted; it always returns true on the canary release stage. The internal `DefaultNewArchitectureEntryPoint.loadWithFeatureFlags()` reads `featureFlags.useTurboModules()` into `privateTurboModulesEnabled` — replace the read with a literal `true`.
This matches the existing treatment of `fabricEnabled` and `concurrentReactEnabled`, which are already always `true`.
Behavior is unchanged.
Changelog:
[Internal]
Reviewed By: fkgozali
Differential Revision: D105718209
fbshipit-source-id: d03f0bb63d46b61625e7b4b74cadfa44a77874611 parent ba66de7 commit 4b5de9e
1 file changed
Lines changed: 1 addition & 1 deletion
File tree
- packages/react-native/ReactAndroid/src/main/java/com/facebook/react/defaults
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
| 115 | + | |
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| |||
0 commit comments