• useProfiler is a React hook that profiles a React component.

    Requires React 16.8 or above.

    Parameters

    • name: string

      displayName of component being profiled

    • options: {
          disabled?: boolean;
          hasRenderSpan?: boolean;
      } = ...
      • Optional disabled?: boolean
      • Optional hasRenderSpan?: boolean

    Returns void

Generated using TypeDoc