reportWebVitals() — react Function Reference
Architecture documentation for the reportWebVitals() function in reportWebVitals.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD fe7ccf0b_29bd_e67c_4825_d4399426d71d["reportWebVitals()"] ce0b06e9_8479_9a85_eac1_af2fb4fbffd1["reportWebVitals.js"] fe7ccf0b_29bd_e67c_4825_d4399426d71d -->|defined in| ce0b06e9_8479_9a85_eac1_af2fb4fbffd1 style fe7ccf0b_29bd_e67c_4825_d4399426d71d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
fixtures/owner-stacks/src/reportWebVitals.js lines 1–11
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);
});
}
};
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does reportWebVitals() do?
reportWebVitals() is a function in the react codebase, defined in fixtures/owner-stacks/src/reportWebVitals.js.
Where is reportWebVitals() defined?
reportWebVitals() is defined in fixtures/owner-stacks/src/reportWebVitals.js at line 1.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free