Skip to content

Commit

Permalink
document that status, error, redirect, cache are ignored when renderi…
Browse files Browse the repository at this point in the history
…ng error pages (#1575)
  • Loading branch information
Rich-Harris committed May 16, 2022
1 parent 79ac9d4 commit 265a852
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions documentation/docs/04-loading.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,8 @@ This will be merged with any existing `stuff` and passed to the `load` functions

The combined `stuff` is available to components using the [page store](/docs/modules#$app-stores) as `$page.stuff`, providing a mechanism for pages to pass data 'upward' to layouts.

> `status`, `error`, `redirect` and `cache` are ignored when rendering error pages.
#### dependencies

An array of strings representing URLs the page depends on, which can subsequently be used with [`invalidate`](/docs/modules#$app-navigation-invalidate) to cause `load` to rerun. You only need to add them to `dependencies` if you're using a custom API client; URLs loaded with the provided `fetch` function are added automatically.
Expand Down

0 comments on commit 265a852

Please sign in to comment.