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 f24e0cb3_9507_961c_1da2_210cf8cc168e["Html.js"] c8c1265b_3279_a736_f329_80931359bbb5["App.js"] c8c1265b_3279_a736_f329_80931359bbb5 --> f24e0cb3_9507_961c_1da2_210cf8cc168e style f24e0cb3_9507_961c_1da2_210cf8cc168e 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/ssr2/src/Html.js (domain: BabelCompiler, subdomain: Optimization, directory: fixtures/ssr2/src).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free