Skip to content

Commit

Permalink
changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
Brendonovich committed Dec 7, 2023
1 parent fd21852 commit ca48463
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .changeset/five-bottles-press.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
"@remix-run/router": minor
---

`redirect` now accepts a `replace` option in the same way as `navigate`.

```ts
loader: () => {
return redirect("/", { replace: true });
};
```

0 comments on commit ca48463

Please sign in to comment.