Home / File/ createReactNoop.js — react Source File

createReactNoop.js — react Source File

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

File javascript BabelCompiler 14 imports 2 dependents

Entity Profile

Dependency Diagram

graph LR
  942e819c_091f_fea7_833f_7c1bbe11aedd["createReactNoop.js"]
  42892443_e223_3da0_aeb9_e1b32a408fb0["ReactInternalTypes"]
  942e819c_091f_fea7_833f_7c1bbe11aedd --> 42892443_e223_3da0_aeb9_e1b32a408fb0
  c259edad_9a2e_f229_0f65_0534fd84f3f5["ReactFiberClassUpdateQueue"]
  942e819c_091f_fea7_833f_7c1bbe11aedd --> c259edad_9a2e_f229_0f65_0534fd84f3f5
  d8f20c67_f5fa_0f0a_c967_c41fd9ffce07["ReactTypes"]
  942e819c_091f_fea7_833f_7c1bbe11aedd --> d8f20c67_f5fa_0f0a_c967_c41fd9ffce07
  4e4c3f74_7206_42a0_562c_a3f70cf6e54c["ReactRootTags"]
  942e819c_091f_fea7_833f_7c1bbe11aedd --> 4e4c3f74_7206_42a0_562c_a3f70cf6e54c
  ee448c5a_bbb1_876b_443a_d70daee16237["ReactEventPriorities"]
  942e819c_091f_fea7_833f_7c1bbe11aedd --> ee448c5a_bbb1_876b_443a_d70daee16237
  76faa448_9fd8_5bef_16ff_7129054308ac["ReactTransitionType"]
  942e819c_091f_fea7_833f_7c1bbe11aedd --> 76faa448_9fd8_5bef_16ff_7129054308ac
  133f0f30_8ddf_1a39_c338_a2ba615827c0["unstable_mock"]
  942e819c_091f_fea7_833f_7c1bbe11aedd --> 133f0f30_8ddf_1a39_c338_a2ba615827c0
  e1e1de60_2be4_0643_45fb_e2c306735427["ReactSymbols"]
  942e819c_091f_fea7_833f_7c1bbe11aedd --> e1e1de60_2be4_0643_45fb_e2c306735427
  af78c51d_c7cb_3bf4_550f_f3fcc48f4f34["isArray"]
  942e819c_091f_fea7_833f_7c1bbe11aedd --> af78c51d_c7cb_3bf4_550f_f3fcc48f4f34
  0ae63ebd_b26a_05c8_1c6d_275a5f6b76c7["CheckStringCoercion"]
  942e819c_091f_fea7_833f_7c1bbe11aedd --> 0ae63ebd_b26a_05c8_1c6d_275a5f6b76c7
  a727ede8_654e_df47_e0a3_cfc38463a64f["constants"]
  942e819c_091f_fea7_833f_7c1bbe11aedd --> a727ede8_654e_df47_e0a3_cfc38463a64f
  8344de1b_978c_be0f_eebd_38ccc4962a93["ReactFeatureFlags"]
  942e819c_091f_fea7_833f_7c1bbe11aedd --> 8344de1b_978c_be0f_eebd_38ccc4962a93
  1c5695a6_6806_ba54_2074_efc779e66da4["ReactSharedInternals"]
  942e819c_091f_fea7_833f_7c1bbe11aedd --> 1c5695a6_6806_ba54_2074_efc779e66da4
  0b5d77d6_fa00_515b_1198_0f2d2642dc21["ReactVersion"]
  942e819c_091f_fea7_833f_7c1bbe11aedd --> 0b5d77d6_fa00_515b_1198_0f2d2642dc21
  style 942e819c_091f_fea7_833f_7c1bbe11aedd 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
 */

/**
 * This is a renderer of React that doesn't have a render target output.
 * It is useful to demonstrate the internals of the reconciler in isolation
 * and for testing semantics of reconciliation separate from the host
 * environment.
 */

import type {
  Fiber,
  TransitionTracingCallbacks,
} from 'react-reconciler/src/ReactInternalTypes';
import type {UpdateQueue} from 'react-reconciler/src/ReactFiberClassUpdateQueue';
import type {ReactNodeList} from 'shared/ReactTypes';
import type {RootTag} from 'react-reconciler/src/ReactRootTags';
import type {EventPriority} from 'react-reconciler/src/ReactEventPriorities';
import type {TransitionTypes} from 'react/src/ReactTransitionType';

import * as Scheduler from 'scheduler/unstable_mock';
import {REACT_FRAGMENT_TYPE, REACT_ELEMENT_TYPE} from 'shared/ReactSymbols';
import isArray from 'shared/isArray';
import {checkPropStringCoercion} from 'shared/CheckStringCoercion';
import {
  NoEventPriority,
  DiscreteEventPriority,
  DefaultEventPriority,
  IdleEventPriority,
  ConcurrentRoot,
  LegacyRoot,
} from 'react-reconciler/constants';
import {disableLegacyMode} from 'shared/ReactFeatureFlags';

import ReactSharedInternals from 'shared/ReactSharedInternals';
import ReactVersion from 'shared/ReactVersion';

type Container = {
  rootID: string,
  children: Array<Instance | TextInstance>,
  pendingChildren: Array<Instance | TextInstance>,
  ...
};
type Props = {
  prop: any,
  hidden: boolean,
  children?: mixed,
  bottom?: null | number,
  left?: null | number,
  right?: null | number,
  top?: null | number,
  src?: string,
  ...
};
// ... (1545 more lines)

Domain

Dependencies

  • CheckStringCoercion
  • ReactEventPriorities
  • ReactFeatureFlags
  • ReactFiberClassUpdateQueue
  • ReactInternalTypes
  • ReactRootTags
  • ReactSharedInternals
  • ReactSymbols
  • ReactTransitionType
  • ReactTypes
  • ReactVersion
  • constants
  • isArray
  • unstable_mock

Frequently Asked Questions

What does createReactNoop.js do?
createReactNoop.js is a source file in the react codebase, written in javascript. It belongs to the BabelCompiler domain.
What does createReactNoop.js depend on?
createReactNoop.js imports 14 module(s): CheckStringCoercion, ReactEventPriorities, ReactFeatureFlags, ReactFiberClassUpdateQueue, ReactInternalTypes, ReactRootTags, ReactSharedInternals, ReactSymbols, and 6 more.
What files import createReactNoop.js?
createReactNoop.js is imported by 2 file(s): ReactNoop.js, ReactNoopPersistent.js.
Where is createReactNoop.js in the architecture?
createReactNoop.js is located at packages/react-noop-renderer/src/createReactNoop.js (domain: BabelCompiler, directory: packages/react-noop-renderer/src).

Analyze Your Own Codebase

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

Try Supermodel Free