ReactFeatureFlags.readonly.js — react Source File
Architecture documentation for ReactFeatureFlags.readonly.js, a javascript file in the react codebase.
Entity Profile
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.
*/
// This is only used by bundle tests so they can *read* the default feature flags.
// It lets us determine whether we're running in Fire mode without making tests internal.
const ReactFeatureFlags = require('../ReactFeatureFlags');
// Forbid writes because this wouldn't work with bundle tests.
module.exports = Object.freeze({...ReactFeatureFlags});
Source
Frequently Asked Questions
What does ReactFeatureFlags.readonly.js do?
ReactFeatureFlags.readonly.js is a source file in the react codebase, written in javascript.
Where is ReactFeatureFlags.readonly.js in the architecture?
ReactFeatureFlags.readonly.js is located at packages/shared/forks/ReactFeatureFlags.readonly.js (directory: packages/shared/forks).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free