Home / File/ ReactFeatureFlags.native-fb-dynamic.js — react Source File

ReactFeatureFlags.native-fb-dynamic.js — react Source File

Architecture documentation for ReactFeatureFlags.native-fb-dynamic.js, a javascript file in the react codebase. 0 imports, 1 dependents.

Entity Profile

Dependency Diagram

graph LR
  6b13aa4d_f1f1_f910_afb9_f984c765d84a["ReactFeatureFlags.native-fb-dynamic.js"]
  5412c5f0_89c4_9cd0_0941_ed146e3869aa["ReactFeatureFlags.native-fb.js"]
  5412c5f0_89c4_9cd0_0941_ed146e3869aa --> 6b13aa4d_f1f1_f910_afb9_f984c765d84a
  style 6b13aa4d_f1f1_f910_afb9_f984c765d84a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

/**
 * 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.
 *
 * @flow strict
 */

// In xplat, these flags are controlled by GKs. Because most GKs have some
// population running in either mode, we should run our tests that way, too,
//
// Use __VARIANT__ to simulate a GK. The tests will be run twice: once
// with the __VARIANT__ set to `true`, and once set to `false`.
//
// TODO: __VARIANT__ isn't supported for React Native flags yet. You can set the
// flag here but it won't be set to `true` in any of our test runs. Need to
// add a test configuration for React Native.

export const alwaysThrottleRetries = __VARIANT__;
export const enableObjectFiber = __VARIANT__;
export const enableHiddenSubtreeInsertionEffectCleanup = __VARIANT__;
export const enableEagerAlternateStateNodeCleanup = __VARIANT__;
export const passChildrenWhenCloningPersistedNodes = __VARIANT__;
export const enableFragmentRefs = __VARIANT__;
export const enableFragmentRefsScrollIntoView = __VARIANT__;
export const enableFragmentRefsInstanceHandles = __VARIANT__;
export const enableEffectEventMutationPhase = __VARIANT__;
export const enableFragmentRefsTextNodes = __VARIANT__;

Domain

Frequently Asked Questions

What does ReactFeatureFlags.native-fb-dynamic.js do?
ReactFeatureFlags.native-fb-dynamic.js is a source file in the react codebase, written in javascript. It belongs to the BabelCompiler domain.
What files import ReactFeatureFlags.native-fb-dynamic.js?
ReactFeatureFlags.native-fb-dynamic.js is imported by 1 file(s): ReactFeatureFlags.native-fb.js.
Where is ReactFeatureFlags.native-fb-dynamic.js in the architecture?
ReactFeatureFlags.native-fb-dynamic.js is located at packages/shared/forks/ReactFeatureFlags.native-fb-dynamic.js (domain: BabelCompiler, directory: packages/shared/forks).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free