Home / Function/ jsxProdSignatureRunningInDevWithStaticChildren() — react Function Reference

jsxProdSignatureRunningInDevWithStaticChildren() — react Function Reference

Architecture documentation for the jsxProdSignatureRunningInDevWithStaticChildren() function in ReactJSXElement.js from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  74cba079_befe_33de_79d9_e329478f8395["jsxProdSignatureRunningInDevWithStaticChildren()"]
  1bf5591f_27a1_c79f_853a_6242549e0e07["ReactJSXElement.js"]
  74cba079_befe_33de_79d9_e329478f8395 -->|defined in| 1bf5591f_27a1_c79f_853a_6242549e0e07
  ad281e06_8a7d_3988_f68c_33f816bae40c["jsxDEVImpl()"]
  74cba079_befe_33de_79d9_e329478f8395 -->|calls| ad281e06_8a7d_3988_f68c_33f816bae40c
  32f94b33_ccff_4b15_3949_ffacdfe3b7cf["createTask()"]
  74cba079_befe_33de_79d9_e329478f8395 -->|calls| 32f94b33_ccff_4b15_3949_ffacdfe3b7cf
  d690579a_a09b_f8d4_5bde_d0dee8d54086["getTaskName()"]
  74cba079_befe_33de_79d9_e329478f8395 -->|calls| d690579a_a09b_f8d4_5bde_d0dee8d54086
  style 74cba079_befe_33de_79d9_e329478f8395 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/react/src/jsx/ReactJSXElement.js lines 398–431

export function jsxProdSignatureRunningInDevWithStaticChildren(
  type,
  config,
  maybeKey,
) {
  if (__DEV__) {
    const isStaticChildren = true;
    const trackActualOwner =
      __DEV__ &&
      ReactSharedInternals.recentlyCreatedOwnerStacks++ < ownerStackLimit;
    let debugStackDEV = false;
    if (__DEV__) {
      if (trackActualOwner) {
        const previousStackTraceLimit = Error.stackTraceLimit;
        Error.stackTraceLimit = ownerStackTraceLimit;
        debugStackDEV = Error('react-stack-top-frame');
        Error.stackTraceLimit = previousStackTraceLimit;
      } else {
        debugStackDEV = unknownOwnerDebugStack;
      }
    }
    return jsxDEVImpl(
      type,
      config,
      maybeKey,
      isStaticChildren,
      debugStackDEV,
      __DEV__ &&
        (trackActualOwner
          ? createTask(getTaskName(type))
          : unknownOwnerDebugTask),
    );
  }
}

Domain

Subdomains

Frequently Asked Questions

What does jsxProdSignatureRunningInDevWithStaticChildren() do?
jsxProdSignatureRunningInDevWithStaticChildren() is a function in the react codebase, defined in packages/react/src/jsx/ReactJSXElement.js.
Where is jsxProdSignatureRunningInDevWithStaticChildren() defined?
jsxProdSignatureRunningInDevWithStaticChildren() is defined in packages/react/src/jsx/ReactJSXElement.js at line 398.
What does jsxProdSignatureRunningInDevWithStaticChildren() call?
jsxProdSignatureRunningInDevWithStaticChildren() calls 3 function(s): createTask, getTaskName, jsxDEVImpl.

Analyze Your Own Codebase

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

Try Supermodel Free