Skip to content

remix/component · Interface

View Source

FrameCommitContext

Summary

Context for a custom frame commit callback.

Signature

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.