Home / File/ ContainingStringSourceMappingURL.js — react Source File

ContainingStringSourceMappingURL.js — react Source File

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

File javascript BabelCompiler Validation 1 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  4a64f790_a553_5448_b39c_fcd08621dd87["ContainingStringSourceMappingURL.js"]
  ac587885_e294_a1e9_b13f_5e7b920fdb42["react"]
  4a64f790_a553_5448_b39c_fcd08621dd87 --> ac587885_e294_a1e9_b13f_5e7b920fdb42
  style 4a64f790_a553_5448_b39c_fcd08621dd87 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 React, {useState} from 'react';

// ?sourceMappingURL=([^\s'"]+)/gm

const abc = 'abc';
const string =
  'sourceMappingURL=data:application/json;charset=utf-8;base64,' + abc;

export function Component() {
  const [count, setCount] = useState(0);

  return (
    <div>
      <p>You clicked {count} times</p>
      <div>string: {string}</div>
      <button onClick={() => setCount(count + 1)}>Click me</button>
    </div>
  );
}

Domain

Subdomains

Functions

Dependencies

  • react

Frequently Asked Questions

What does ContainingStringSourceMappingURL.js do?
ContainingStringSourceMappingURL.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 ContainingStringSourceMappingURL.js?
ContainingStringSourceMappingURL.js defines 1 function(s): Component.
What does ContainingStringSourceMappingURL.js depend on?
ContainingStringSourceMappingURL.js imports 1 module(s): react.
Where is ContainingStringSourceMappingURL.js in the architecture?
ContainingStringSourceMappingURL.js is located at packages/react-devtools-shared/src/hooks/__tests__/__source__/ContainingStringSourceMappingURL.js (domain: BabelCompiler, subdomain: Validation, directory: packages/react-devtools-shared/src/hooks/__tests__/__source__).

Analyze Your Own Codebase

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

Try Supermodel Free