mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Deprecate ReactFeatureFlags.enableFabricRenderer (#45921)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/45921 In this diff we are deprecating ReactFeatureFlags.enableFabricRenderer, this flag will be deleted in the next version of ReactNative (0.77) Please use DefaultNewArchitectureEntryPoint.load() to enable fabric instead. changelog: [Android][Deprecated] deprecate ReactFeatureFlags.enableFabricRenderer Reviewed By: philIip Differential Revision: D60853316 fbshipit-source-id: f9883a68771c8db8f24269630b0950e96741cf9d
This commit is contained in:
committed by
Facebook GitHub Bot
parent
35d9a18b81
commit
3f35217856
+5
@@ -32,6 +32,11 @@ public class ReactFeatureFlags {
|
||||
* Should this application use the new (Fabric) Renderer? If yes, all rendering in this app will
|
||||
* use Fabric instead of the legacy renderer.
|
||||
*/
|
||||
@Deprecated(
|
||||
since =
|
||||
"enableFabricRenderer will be deleted in 0.77, please use"
|
||||
+ " DefaultNewArchitectureEntryPoint.load() to enable fabric instead.",
|
||||
forRemoval = true)
|
||||
public static volatile boolean enableFabricRenderer = false;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user