createReactNativeComponentClass.js — react Source File
Architecture documentation for createReactNativeComponentClass.js, a javascript file in the react codebase. 2 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 5ed9d680_953e_67bd_43d5_9b38317a07a9["createReactNativeComponentClass.js"] af2a37ce_54b3_b243_ae04_c7ff8eb2832c["./ReactNativeTypes"] 5ed9d680_953e_67bd_43d5_9b38317a07a9 --> af2a37ce_54b3_b243_ae04_c7ff8eb2832c 94a68304_3047_524d_e604_af34f5a80eaf["ReactNativePrivateInterface"] 5ed9d680_953e_67bd_43d5_9b38317a07a9 --> 94a68304_3047_524d_e604_af34f5a80eaf style 5ed9d680_953e_67bd_43d5_9b38317a07a9 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.
*
* @noformat
* @nolint
* @flow strict-local
*/
'use strict';
import {ReactNativeViewConfigRegistry} from 'react-native/Libraries/ReactPrivate/ReactNativePrivateInterface';
import {type ViewConfig} from './ReactNativeTypes';
const {register} = ReactNativeViewConfigRegistry;
/**
* Creates a renderable ReactNative host component.
* Use this method for view configs that are loaded from UIManager.
* Use createReactNativeComponentClass() for view configs defined within JavaScript.
*
* @param {string} config iOS View configuration.
* @private
*/
const createReactNativeComponentClass = function (
name: string,
callback: () => ViewConfig,
): string {
return register(name, callback);
};
export default createReactNativeComponentClass;
Domain
Dependencies
- ./ReactNativeTypes
- ReactNativePrivateInterface
Source
Frequently Asked Questions
What does createReactNativeComponentClass.js do?
createReactNativeComponentClass.js is a source file in the react codebase, written in javascript. It belongs to the BabelCompiler domain.
What does createReactNativeComponentClass.js depend on?
createReactNativeComponentClass.js imports 2 module(s): ./ReactNativeTypes, ReactNativePrivateInterface.
Where is createReactNativeComponentClass.js in the architecture?
createReactNativeComponentClass.js is located at scripts/rollup/shims/react-native/createReactNativeComponentClass.js (domain: BabelCompiler, directory: scripts/rollup/shims/react-native).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free