site: mention host in preload and in page store

This commit is contained in:
Conduitry
2019-06-11 11:33:18 -04:00
parent a5872477ad
commit 3dd947089d
2 changed files with 2 additions and 2 deletions

View File

@@ -14,7 +14,7 @@ Inside a component, get references to the stores like so:
```
* `preloading` contains a readonly boolean value, indicating whether or not a navigation is pending
* `page` contains a readonly `{ path, params, query }` object, identical to that passed to `preload` functions
* `page` contains a readonly `{ host, path, params, query }` object, identical to that passed to `preload` functions
* `session` contains whatever data was seeded on the server. It is a [writable store](https://svelte.dev/tutorial/writable-stores), meaning you can update it with new data (for example, after the user logs in) and your app will be refreshed