UNPKG

sanity

Version:

Sanity is a real-time content infrastructure with a scalable, hosted backend featuring a Graph Oriented Query Language (GROQ), asset pipelines and fast edge caches

13 lines (10 loc) 326 B
// Tracks performance metrics from the field import {type PropsWithChildren} from 'react' import {useMeasurePerformanceTelemetry} from './useMeasurePerformanceTelemetry' /** * @internal */ export function PerformanceTelemetryTracker(props: PropsWithChildren) { useMeasurePerformanceTelemetry() return props.children }