UNPKG

@zendesk/react-measure-timing-hooks

Version:

react hooks for measuring time to interactive and time to render of components

78 lines (72 loc) 2.54 kB
/** * Copyright Zendesk, Inc. * * Use of this source code is governed under the Apache License, Version 2.0 * found at http://www.apache.org/licenses/LICENSE-2.0. */ export { ActionLog } from './ActionLog' export type { ActionLogRef } from './ActionLogCache' export { ActionLogCache } from './ActionLogCache' export * from './constants' export type { Report } from './generateReport' export { generateReport } from './generateReport' export { generateTimingHooks } from './generateTimingHooks' export { getExternalApi } from './getExternalApi' export * from './types' export { useActionLog } from './useActionLog' export { useTiming } from './useTiming' export { useTimingMeasurement } from './useTimingMeasurement' // utils export type { DebounceOptionsRef } from './debounce' export { debounce } from './debounce' export { ReactMeasureErrorBoundary, useOnErrorBoundaryDidCatch, } from './ErrorBoundary' export { performanceMark, performanceMeasure } from './performanceMark' export { switchFn } from './switchFn' export { getCurrentBrowserSupportForNonResponsiveStateDetection } from './utilities' // visualizer // export { // getTimingDisplayModule, // onActionAddedCallback, // useVisualizer, // } from './lazyVisualizer' // operation tracking (v2) // export * from './v2/constants' // export * from './v2/defaultEventProcessor' // export * from './v2/element' // export * from './v2/getCommonUrlForTracing' // export * from './v2/hooks' // export * from './v2/operation' // export type * from './v2/types' // v3 export * from './v3/constants' export * from './v3/convertToRum' export * from './v3/defaultDeduplicationStrategy' export * from './v3/ensureTimestamp' export * from './v3/firstCPUIdle' export * from './v3/getCommonUrlForTracing' export * from './v3/getDynamicQuietWindowDuration' export * from './v3/getSpanFromPerformanceEntry' export * from './v3/hooks' export type * from './v3/hooksTypes' export * from './v3/Tracer' // eslint-disable-next-line import/first, import/newline-after-import import * as match from './v3/matchSpan' export { match } export type { NameMatcher, SpanMatch, SpanMatchDefinition, SpanMatcherFn, SpanMatcherTags, } from './v3/matchSpan' export * from './v3/observePerformanceWithTraceManager' export * from './v3/recordingComputeUtils' export type * from './v3/spanAnnotationTypes' export type * from './v3/spanTypes' export * from './v3/TraceManager' export type * from './v3/traceRecordingTypes' export type * from './v3/types' export type * from './v3/typeUtils'