sourceSelection.js — react Source File
Architecture documentation for sourceSelection.js, a javascript file in the react codebase. 1 imports, 1 dependents.
Entity Profile
Dependency Diagram
graph LR 96cefe22_9962_3835_9c5b_31bab845839c["sourceSelection.js"] 5da5ec89_70b9_80cd_1b31_dcf27eddc57e["evalInInspectedWindow.js"] 96cefe22_9962_3835_9c5b_31bab845839c --> 5da5ec89_70b9_80cd_1b31_dcf27eddc57e b5e42467_7633_e234_1d51_a93bfc4818c7["index.js"] b5e42467_7633_e234_1d51_a93bfc4818c7 --> 96cefe22_9962_3835_9c5b_31bab845839c style 96cefe22_9962_3835_9c5b_31bab845839c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import {evalInInspectedWindow} from './evalInInspectedWindow';
export function viewAttributeSource(rendererID, elementID, path) {
evalInInspectedWindow(
'viewAttributeSource',
[{rendererID, elementID, path}],
(didInspect, evalError) => {
if (evalError) {
console.error(evalError);
}
},
);
}
export function viewElementSource(rendererID, elementID) {
evalInInspectedWindow(
'viewElementSource',
[{rendererID, elementID}],
(didInspect, evalError) => {
if (evalError) {
console.error(evalError);
}
},
);
}
Domain
Subdomains
Functions
Dependencies
Source
Frequently Asked Questions
What does sourceSelection.js do?
sourceSelection.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 sourceSelection.js?
sourceSelection.js defines 2 function(s): viewAttributeSource, viewElementSource.
What does sourceSelection.js depend on?
sourceSelection.js imports 1 module(s): evalInInspectedWindow.js.
What files import sourceSelection.js?
sourceSelection.js is imported by 1 file(s): index.js.
Where is sourceSelection.js in the architecture?
sourceSelection.js is located at packages/react-devtools-extensions/src/main/sourceSelection.js (domain: BabelCompiler, subdomain: Validation, directory: packages/react-devtools-extensions/src/main).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free