Commit e99f8f9
Remove redundant feature flag overrides (#56014)
Summary:
Pull Request resolved: #56014
Changelog: [internal]
Clean up React Native feature flag override classes by removing overrides that return values identical to their parent class defaults:
- **ReactNativeNewArchitectureFeatureFlagsDefaults**: Removed unnecessary `newArchitectureEnabled` constant and simplified method returns to direct `true` values
- **ReactNativeFeatureFlagsOverrides_RNOSS_Stable_Android**: Removed redundant `useFabricInterop()` override (default is already `true`)
These changes improve code maintainability by eliminating unnecessary duplication without any behavioral impact.
Reviewed By: huntie
Differential Revision: D95852632
fbshipit-source-id: 89cb210210911d646ff2a2ea5bac6861730cf9781 parent b8876b5 commit e99f8f9
2 files changed
Lines changed: 6 additions & 13 deletions
File tree
- packages/react-native/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
| 11 | + | |
Lines changed: 5 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | | - | |
33 | | - | |
| 32 | + | |
34 | 33 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
| 34 | + | |
39 | 35 | | |
0 commit comments