---
title: "UpdateUrlOptions"
source: "https://github.com/remix-run/remix/blob/main/packages/component/src/runtime/update-url.ts#L14"
---

# UpdateUrlOptions

## Summary

Options for updating the current URL.

## Signature

```ts
interface UpdateUrlOptions {
  history?: 'push' | 'replace'
  signal?: AbortSignal
}

```

## Properties

### `history`

How the URL updates browser history. (default: `"replace"`)

### `signal`

Cancels a pending URL update without aborting the navigation it is waiting for.