ReactFeatureFlags.js — react Source File
Architecture documentation for ReactFeatureFlags.js, a javascript file in the react codebase. 0 imports, 1 dependents.
Entity Profile
Dependency Diagram
graph LR 5ad6f79c_881c_e23b_6bc1_b8deb7889805["ReactFeatureFlags.js"] d1749588_72f0_305a_3ea3_ab196eddbd95["getComponentNameFromType.js"] d1749588_72f0_305a_3ea3_ab196eddbd95 --> 5ad6f79c_881c_e23b_6bc1_b8deb7889805 style 5ad6f79c_881c_e23b_6bc1_b8deb7889805 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
*/
// -----------------------------------------------------------------------------
// Land or remove (zero effort)
//
// Flags that can likely be deleted or landed without consequences
// -----------------------------------------------------------------------------
// None
// -----------------------------------------------------------------------------
// Killswitch
//
// Flags that exist solely to turn off a change in case it causes a regression
// when it rolls out to prod. We should remove these as soon as possible.
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
// Land or remove (moderate effort)
//
// Flags that can be probably deleted or landed, but might require extra effort
// like migrating internal callers or performance testing.
// -----------------------------------------------------------------------------
// Need to remove didTimeout argument from Scheduler before landing
export const disableSchedulerTimeoutInWorkLoop: boolean = false;
// -----------------------------------------------------------------------------
// Slated for removal in the future (significant effort)
//
// These are experiments that didn't work out, and never shipped, but we can't
// delete from the codebase until we migrate internal callers.
// -----------------------------------------------------------------------------
// Add a callback property to suspense to notify which promises are currently
// in the update queue. This allows reporting and tracing of what is causing
// the user to see a loading state.
//
// Also allows hydration callbacks to fire when a dehydrated boundary gets
// hydrated or deleted.
//
// This will eventually be replaced by the Transition Tracing proposal.
export const enableSuspenseCallback: boolean = false;
// Experimental Scope support.
export const enableScopeAPI: boolean = false;
// Experimental Create Event Handle API.
export const enableCreateEventHandleAPI: boolean = false;
// Support legacy Primer support on internal FB www
export const enableLegacyFBSupport: boolean = false;
// ... (198 more lines)
Domain
Imported By
Source
Frequently Asked Questions
What does ReactFeatureFlags.js do?
ReactFeatureFlags.js is a source file in the react codebase, written in javascript. It belongs to the BabelCompiler domain.
What files import ReactFeatureFlags.js?
ReactFeatureFlags.js is imported by 1 file(s): getComponentNameFromType.js.
Where is ReactFeatureFlags.js in the architecture?
ReactFeatureFlags.js is located at packages/shared/ReactFeatureFlags.js (domain: BabelCompiler, directory: packages/shared).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free