mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Remove enableFabricRenderer() overrides from downstream consumers (#56896)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/56896 The `enableFabricRenderer()` virtual method is being removed from `ReactNativeFeatureFlagsDefaults`. This diff removes the now-stale `enableFabricRenderer() override` methods from downstream `ReactNativeFeatureFlagsDefaults` subclasses so they compile cleanly once the parent method is gone. Also removes the now-unused `enableFabric` parameter from `createFBReactModuleDefaultsFeatureFlagsProvider` and its single caller. Behavior is unchanged because every override returned `true` (the value the runtime always took at this point) and no other code path depends on the flag. Changelog: [Internal] Reviewed By: christophpurrer Differential Revision: D105347594 fbshipit-source-id: 656166fbf6e83512e3674acf9dfec9be08e8a004
This commit is contained in:
1 parent
7eb11331b6
commit
183e04a93b
1 file changed
-4
-4
@@ -17,10 +17,6 @@ class ReactNativeFeatureFlagsOverridesOSSStable : public ReactNativeFeatureFlags
|
||||
{
|
||||
return true;
|
||||
}
|
||||
bool enableFabricRenderer() override
|
||||
{
|
||||
return true;
|
||||
}
|
||||
bool useTurboModules() override
|
||||
{
|
||||
return true;
|
||||
|
||||
Reference in new issue
Block a user