---
title: "FrameCommitContext"
source: "https://github.com/remix-run/remix/blob/main/packages/component/src/runtime/frame.ts#L3171"
---

# FrameCommitContext

## Summary

Context for a custom frame commit callback.

## Signature

```ts
interface FrameCommitContext {
  response: Response
  signal: AbortSignal
  to: string
}

```

## Properties

### `response`

Original frame response, still unconsumed when the callback starts.

### `signal`

Aborts when this frame update is cancelled, superseded, or disposed.

### `to`

Resolved frame destination after redirects, or the requested source when not redirected.