Home / File/ TreeFocusedContext.js — react Source File

TreeFocusedContext.js — react Source File

Architecture documentation for TreeFocusedContext.js, a javascript file in the react codebase. 2 imports, 1 dependents.

File javascript BabelCompiler 2 imports 1 dependents

Entity Profile

Dependency Diagram

graph LR
  23558b87_1323_45a8_745a_dde65426f744["TreeFocusedContext.js"]
  d8f20c67_f5fa_0f0a_c967_c41fd9ffce07["ReactTypes"]
  23558b87_1323_45a8_745a_dde65426f744 --> d8f20c67_f5fa_0f0a_c967_c41fd9ffce07
  ac587885_e294_a1e9_b13f_5e7b920fdb42["react"]
  23558b87_1323_45a8_745a_dde65426f744 --> ac587885_e294_a1e9_b13f_5e7b920fdb42
  80ad5569_a221_98e5_daec_ede1bea33ee0["Tree.js"]
  80ad5569_a221_98e5_daec_ede1bea33ee0 --> 23558b87_1323_45a8_745a_dde65426f744
  style 23558b87_1323_45a8_745a_dde65426f744 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
 */

import type {ReactContext} from 'shared/ReactTypes';

import {createContext} from 'react';

const TreeFocusedContext: ReactContext<boolean> = createContext<boolean>(false);

export default TreeFocusedContext;

Domain

Dependencies

  • ReactTypes
  • react

Frequently Asked Questions

What does TreeFocusedContext.js do?
TreeFocusedContext.js is a source file in the react codebase, written in javascript. It belongs to the BabelCompiler domain.
What does TreeFocusedContext.js depend on?
TreeFocusedContext.js imports 2 module(s): ReactTypes, react.
What files import TreeFocusedContext.js?
TreeFocusedContext.js is imported by 1 file(s): Tree.js.
Where is TreeFocusedContext.js in the architecture?
TreeFocusedContext.js is located at packages/react-devtools-shared/src/devtools/views/Components/TreeFocusedContext.js (domain: BabelCompiler, directory: packages/react-devtools-shared/src/devtools/views/Components).

Analyze Your Own Codebase

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

Try Supermodel Free