Skip to content

Commit 390c3fe

Browse files
Sync svelte docs (#1293)
sync svelte docs Co-authored-by: svelte-docs-bot[bot] <196124396+svelte-docs-bot[bot]@users.noreply.github.com>
1 parent c6d8f64 commit 390c3fe

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

apps/svelte.dev/content/docs/svelte/98-reference/.generated/shared-errors.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ This error would be thrown in a setup like this:
3030

3131
Here, `List.svelte` is using `{@render children(item)` which means it expects `Parent.svelte` to use snippets. Instead, `Parent.svelte` uses the deprecated `let:` directive. This combination of APIs is incompatible, hence the error.
3232

33+
### invalid_snippet_arguments
34+
35+
```
36+
A snippet function was passed invalid arguments. Snippets should only be instantiated via `{@render ...}`
37+
```
38+
3339
### lifecycle_outside_component
3440

3541
```

apps/svelte.dev/content/docs/svelte/98-reference/30-runtime-errors.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,12 @@ This error would be thrown in a setup like this:
214214

215215
Here, `List.svelte` is using `{@render children(item)` which means it expects `Parent.svelte` to use snippets. Instead, `Parent.svelte` uses the deprecated `let:` directive. This combination of APIs is incompatible, hence the error.
216216

217+
### invalid_snippet_arguments
218+
219+
```
220+
A snippet function was passed invalid arguments. Snippets should only be instantiated via `{@render ...}`
221+
```
222+
217223
### lifecycle_outside_component
218224

219225
```

0 commit comments

Comments
 (0)