apiref
react-performance-coach@1.1.0

usePerformanceCoach()  Function

Makes a React component re-render every 1 second. Useful for uncovering performance issues.

Signature

export default function usePerformanceCoach(options?: PerformanceCoachOptions): void;

Parameters

ParameterTypeDescription
optionsPerformanceCoachOptions
(Returns)void