Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Aug 5, 2025. It is now read-only.

Commitee29e32

Browse files
authored
docs: change grammar to help reduce confusion (#431)
It was not clear which page below the layout inherits the data, because in fact it could be any page.The confusion can arise from the way the previous sentence was expressed, as **visually**, there is nothing `below` the layout in the project tree.There are siblings though, like `+page.svelte` but for a Svelte beginner it is **not** immediately obvious that this page also falls `under` the same layout.
1 parent8cc995f commitee29e32

File tree

1 file changed

+1
-1
lines changed
  • content/tutorial/03-sveltekit/03-loading-data/02-layout-data

1 file changed

+1
-1
lines changed

‎content/tutorial/03-sveltekit/03-loading-data/02-layout-data/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,6 @@ Now, add a sidebar in the layout for the post page:
4545
</style>
4646
```
4747

48-
The layout (andthe page below it) inherits`data.summaries` from the parent`+layout.server.js`.
48+
The layout (andany page below it) inherits`data.summaries` from the parent`+layout.server.js`.
4949

5050
When we navigate from one post to another, we only need to load the data for the post itself — the layout data is still valid. See the documentation on[invalidation](https://kit.svelte.dev/docs/load#rerunning-load-functions) to learn more.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp