Home / File/ EdgeCaseObjects.js — react Source File

EdgeCaseObjects.js — react Source File

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

File javascript BabelCompiler Validation 1 imports 1 dependents 2 functions

Entity Profile

Dependency Diagram

graph LR
  5b9ccc60_5f4e_8b4c_16b2_0c9a2696cda3["EdgeCaseObjects.js"]
  ac587885_e294_a1e9_b13f_5e7b920fdb42["react"]
  5b9ccc60_5f4e_8b4c_16b2_0c9a2696cda3 --> ac587885_e294_a1e9_b13f_5e7b920fdb42
  ee521c92_6aea_ed48_b3b2_59ca21d468e3["InspectableElements.js"]
  ee521c92_6aea_ed48_b3b2_59ca21d468e3 --> 5b9ccc60_5f4e_8b4c_16b2_0c9a2696cda3
  style 5b9ccc60_5f4e_8b4c_16b2_0c9a2696cda3 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 * as React from 'react';

const objectWithModifiedHasOwnProperty = {
  foo: 'abc',
  bar: 123,
  hasOwnProperty: true,
};

const objectWithNullProto = Object.create(null);
// $FlowFixMe[prop-missing] found when upgrading Flow
objectWithNullProto.foo = 'abc';
// $FlowFixMe[prop-missing] found when upgrading Flow
objectWithNullProto.bar = 123;

export default function EdgeCaseObjects(): React.Node {
  return (
    <ChildComponent
      objectWithModifiedHasOwnProperty={objectWithModifiedHasOwnProperty}
      objectWithNullProto={objectWithNullProto}
    />
  );
}

function ChildComponent(props: any) {
  return null;
}

Domain

Subdomains

Dependencies

  • react

Frequently Asked Questions

What does EdgeCaseObjects.js do?
EdgeCaseObjects.js is a source file in the react codebase, written in javascript. It belongs to the BabelCompiler domain, Validation subdomain.
What functions are defined in EdgeCaseObjects.js?
EdgeCaseObjects.js defines 2 function(s): ChildComponent, EdgeCaseObjects.
What does EdgeCaseObjects.js depend on?
EdgeCaseObjects.js imports 1 module(s): react.
What files import EdgeCaseObjects.js?
EdgeCaseObjects.js is imported by 1 file(s): InspectableElements.js.
Where is EdgeCaseObjects.js in the architecture?
EdgeCaseObjects.js is located at packages/react-devtools-shell/src/app/InspectableElements/EdgeCaseObjects.js (domain: BabelCompiler, subdomain: Validation, directory: packages/react-devtools-shell/src/app/InspectableElements).

Analyze Your Own Codebase

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

Try Supermodel Free