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
Parameter | Type | Description |
---|---|---|
options | PerformanceCoachOptions | |
(Returns) | void |