Skip to content

Commit 710396b

Browse files
authored
Merge branch 'registry-new' into registry-orama
2 parents 6b06895 + 999d394 commit 710396b

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)