| 1 | /** |
| 2 | * Copyright (c) Meta Platforms, Inc. and affiliates. |
| 3 | * |
| 4 | * This source code is licensed under the MIT license found in the |
| 5 | * LICENSE file in the root directory of this source tree. |
| 6 | * |
| 7 | * @flow |
| 8 | */ |
| 9 | |
| 10 | export type TypeOfMode = number; |
| 11 | |
| 12 | export const NoMode = /* */ 0b0000000; |
| 13 | // TODO: Remove ConcurrentMode by reading from the root tag instead |
| 14 | export const ConcurrentMode = /* */ 0b0000001; |
| 15 | export const ProfileMode = /* */ 0b0000010; |
| 16 | //export const DebugTracingMode = /* */ 0b0000100; // Removed |
| 17 | export const StrictLegacyMode = /* */ 0b0001000; |
| 18 | export const StrictEffectsMode = /* */ 0b0010000; |
| 19 | // Keep track of if we're in a SuspenseyImages eligible subtree. |
| 20 | // TODO: Remove this when enableSuspenseyImages ship where it's always on. |
| 21 | export const SuspenseyImagesMode = /* */ 0b0100000; |