# Type alias ProfilerOnRenderCallback

ProfilerOnRenderCallback: ((id, phase, actualDuration, baseDuration, startTime, commitTime) => void)

The callback passed to ProfilerProps.onRender.

#### Type declaration

- - (id, phase, actualDuration, baseDuration, startTime, commitTime): void

  - #### Parameters

    - id: string
    - phase: "mount" | "update" | "nested-update"
    - actualDuration: number
    - baseDuration: number
    - startTime: number
    - commitTime: number

    #### Returns void

#### See

React Docs

- Defined in common/temp/node_modules/.pnpm/@types+react@18.3.3/node_modules/@types/react/index.d.ts:876