From 0a76dbf6d79cd774803aff7f573f4726b36548e7 Mon Sep 17 00:00:00 2001 From: Geoff Rich Date: Sat, 10 Apr 2021 12:27:12 -0700 Subject: [PATCH] docs: mention that svelte:self can be in a slot --- site/content/docs/02-template-syntax.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/content/docs/02-template-syntax.md b/site/content/docs/02-template-syntax.md index 0e0e8e4008..85b6ef553e 100644 --- a/site/content/docs/02-template-syntax.md +++ b/site/content/docs/02-template-syntax.md @@ -1430,7 +1430,7 @@ Named slots can also expose values. The `let:` directive goes on the element wit The `` element allows a component to include itself, recursively. -It cannot appear at the top level of your markup; it must be inside an if or each block to prevent an infinite loop. +It cannot appear at the top level of your markup; it must be inside an if or each block or passed to a component's slot to prevent an infinite loop. ```sv