Skip to content

Commit

Permalink
Merge branch 'main' into request-event-locals
Browse files Browse the repository at this point in the history
  • Loading branch information
kodiakhq[bot] authored Nov 24, 2024
2 parents 32daa3f + 7c16cde commit bd576bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if (unauthorized) {
}
```

If you are inside of a `cache` or `action` function you will instead want to use [redirect](/solid-router/reference/data-apis/response-helpers/redirect) or [reload](/solid-router/reference/data-apis/response-helpers/reload).
If you are inside of a `cache` or `action` function you will instead want to use [redirect](/solid-router/reference/response-helpers/redirect) or [reload](/solid-router/reference/response-helpers/reload).

<Callout>
The state is serialized using the [structured clone
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: reload
---

Reload is a response helper built on top of [revalidate](/solid-router/response-helpers/revalidate).
Reload is a response helper built on top of [revalidate](/solid-router/reference/response-helpers/revalidate).
It will receive a cache key, or an array of cache keys, to invalidate those queries, and cause them to fire again.

```ts title="/actions/update-todo.ts"{4}
Expand Down

0 comments on commit bd576bd

Please sign in to comment.