reportWebVitals.js — react Source File
Architecture documentation for reportWebVitals.js, a javascript file in the react codebase. 0 imports, 1 dependents.
Entity Profile
Dependency Diagram
graph LR ce0b06e9_8479_9a85_eac1_af2fb4fbffd1["reportWebVitals.js"] e5e48f59_4a6d_d32d_d54f_2bf29ccb3404["index.js"] e5e48f59_4a6d_d32d_d54f_2bf29ccb3404 --> ce0b06e9_8479_9a85_eac1_af2fb4fbffd1 style ce0b06e9_8479_9a85_eac1_af2fb4fbffd1 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
const reportWebVitals = onPerfEntry => {
if (onPerfEntry && onPerfEntry instanceof Function) {
import('web-vitals').then(({getCLS, getFID, getFCP, getLCP, getTTFB}) => {
getCLS(onPerfEntry);
getFID(onPerfEntry);
getFCP(onPerfEntry);
getLCP(onPerfEntry);
getTTFB(onPerfEntry);
});
}
};
export default reportWebVitals;
Domain
Subdomains
Functions
Imported By
Source
Frequently Asked Questions
What does reportWebVitals.js do?
reportWebVitals.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 reportWebVitals.js?
reportWebVitals.js defines 1 function(s): reportWebVitals.
What files import reportWebVitals.js?
reportWebVitals.js is imported by 1 file(s): index.js.
Where is reportWebVitals.js in the architecture?
reportWebVitals.js is located at fixtures/owner-stacks/src/reportWebVitals.js (domain: BabelCompiler, subdomain: Optimization, directory: fixtures/owner-stacks/src).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free