Html.js — react Source File
Architecture documentation for Html.js, a javascript file in the react codebase. 0 imports, 1 dependents.
Entity Profile
Dependency Diagram
graph LR 285ea620_a7e6_bda4_2f19_f17fa971360d["Html.js"] 80a4d9b0_ea35_ec8f_4f21_8a2085be082e["App.js"] 80a4d9b0_ea35_ec8f_4f21_8a2085be082e --> 285ea620_a7e6_bda4_2f19_f17fa971360d style 285ea620_a7e6_bda4_2f19_f17fa971360d 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.
*
*/
export default function Html({assets, children, title}) {
return (
<html lang="en">
<head>
<meta charSet="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="shortcut icon" href="favicon.ico" />
<link rel="stylesheet" href={assets['main.css']} />
<title>{title}</title>
</head>
<body>
<noscript
dangerouslySetInnerHTML={{
__html: `<b>Enable JavaScript to run this app.</b>`,
}}
/>
{children}
<script
dangerouslySetInnerHTML={{
__html: `assetManifest = ${JSON.stringify(assets)};`,
}}
/>
</body>
</html>
);
}
Domain
Subdomains
Functions
Imported By
Source
Frequently Asked Questions
What does Html.js do?
Html.js is a source file in the react codebase, written in javascript. It belongs to the BabelCompiler domain, Optimization subdomain.
What functions are defined in Html.js?
Html.js defines 1 function(s): Html.
What files import Html.js?
Html.js is imported by 1 file(s): App.js.
Where is Html.js in the architecture?
Html.js is located at fixtures/fizz/src/Html.js (domain: BabelCompiler, subdomain: Optimization, directory: fixtures/fizz/src).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free