mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/42815 Feature flags were originally defined in a JSON file for easier interoperability but we're only using the definitions in JS anyway, so having the definitions in a JS file is more flexible (e.g.: adding comments). Changelog: [internal] Reviewed By: huntie Differential Revision: D53351483 fbshipit-source-id: 23fe0a3898b4facf2f2cf9645f78c45d78937f31
60 lines
1.3 KiB
C++
60 lines
1.3 KiB
C++
/*
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
* @generated SignedSource<<f97b884f948b3ebf00df11b30cfe3ea4>>
|
|
*/
|
|
|
|
/**
|
|
* IMPORTANT: Do NOT modify this file directly.
|
|
*
|
|
* To change the definition of the flags, edit
|
|
* packages/react-native/scripts/featureflags/ReactNativeFeatureFlags.config.js.
|
|
*
|
|
* To regenerate this code, run the following script from the repo root:
|
|
* yarn featureflags-update
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <react/featureflags/ReactNativeFeatureFlagsProvider.h>
|
|
|
|
namespace facebook::react {
|
|
|
|
class ReactNativeFeatureFlagsDefaults : public ReactNativeFeatureFlagsProvider {
|
|
public:
|
|
ReactNativeFeatureFlagsDefaults() = default;
|
|
|
|
bool commonTestFlag() override {
|
|
return false;
|
|
}
|
|
|
|
bool useModernRuntimeScheduler() override {
|
|
return false;
|
|
}
|
|
|
|
bool enableMicrotasks() override {
|
|
return false;
|
|
}
|
|
|
|
bool batchRenderingUpdatesInEventLoop() override {
|
|
return false;
|
|
}
|
|
|
|
bool enableSpannableBuildingUnification() override {
|
|
return false;
|
|
}
|
|
|
|
bool enableCustomDrawOrderFabric() override {
|
|
return false;
|
|
}
|
|
|
|
bool enableFixForClippedSubviewsCrash() override {
|
|
return false;
|
|
}
|
|
};
|
|
|
|
} // namespace facebook::react
|