Home / File/ getNodeFromPublicInstance.js — react Source File

getNodeFromPublicInstance.js — react Source File

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

File javascript BabelCompiler Validation 3 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  92c9535e_3e9c_6383_e815_e686948bdbe0["getNodeFromPublicInstance.js"]
  25a92b20_ad13_dc00_1eb4_90cd622d5bef["ReactNativePrivateInterface.js"]
  92c9535e_3e9c_6383_e815_e686948bdbe0 --> 25a92b20_ad13_dc00_1eb4_90cd622d5bef
  c8cde18a_a62b_2ad5_9e88_a5d655a07f02["ReactNativePublicCompat.js"]
  92c9535e_3e9c_6383_e815_e686948bdbe0 --> c8cde18a_a62b_2ad5_9e88_a5d655a07f02
  6e94430d_bdbd_d18c_30eb_ae6088e8d367["getNodeFromInternalInstanceHandle"]
  92c9535e_3e9c_6383_e815_e686948bdbe0 --> 6e94430d_bdbd_d18c_30eb_ae6088e8d367
  style 92c9535e_3e9c_6383_e815_e686948bdbe0 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 strict
 */

import type {PublicInstance} from './ReactNativePrivateInterface';

import {getNodeFromInternalInstanceHandle} from '../../../../ReactNativePublicCompat';

export default function getNodeFromPublicInstance(
  publicInstance: PublicInstance,
) {
  return getNodeFromInternalInstanceHandle(
    publicInstance.__internalInstanceHandle,
  );
}

Domain

Subdomains

Frequently Asked Questions

What does getNodeFromPublicInstance.js do?
getNodeFromPublicInstance.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 getNodeFromPublicInstance.js?
getNodeFromPublicInstance.js defines 1 function(s): getNodeFromPublicInstance.
What does getNodeFromPublicInstance.js depend on?
getNodeFromPublicInstance.js imports 3 module(s): ReactNativePrivateInterface.js, ReactNativePublicCompat.js, getNodeFromInternalInstanceHandle.
Where is getNodeFromPublicInstance.js in the architecture?
getNodeFromPublicInstance.js is located at packages/react-native-renderer/src/__mocks__/react-native/Libraries/ReactPrivate/getNodeFromPublicInstance.js (domain: BabelCompiler, subdomain: Validation, directory: packages/react-native-renderer/src/__mocks__/react-native/Libraries/ReactPrivate).

Analyze Your Own Codebase

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

Try Supermodel Free