Commit ba66de7
Simplify TurboModule filter in BaseReactPackage iterator (#56923)
Summary:
Pull Request resolved: #56923
The `useTurboModules` flag is being deleted; it always returns true on the canary release stage. The iterator in `BaseReactPackage.getNativeModuleIterator()` filters out TurboModules when the flag is on — drop the flag check and always filter.
Also drop the now-unused `ReactNativeNewArchitectureFeatureFlags` import.
Behavior is unchanged.
Changelog:
[Internal]
Reviewed By: fkgozali
Differential Revision: D105718204
fbshipit-source-id: 7d824c65f5be1c07b88f6d5a642a8e983e6a16f71 parent 26f313b commit ba66de7
1 file changed
Lines changed: 3 additions & 7 deletions
Lines changed: 3 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
| |||
65 | 64 | | |
66 | 65 | | |
67 | 66 | | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
74 | 70 | | |
75 | 71 | | |
76 | 72 | | |
| |||
0 commit comments