From f13d07bd5c249faea32a213c74f574039390cb6c Mon Sep 17 00:00:00 2001 From: baseballyama Date: Thu, 14 Apr 2022 20:32:07 +0900 Subject: [PATCH] update doc --- site/content/docs/02-template-syntax.md | 1 + 1 file changed, 1 insertion(+) diff --git a/site/content/docs/02-template-syntax.md b/site/content/docs/02-template-syntax.md index 5f19e91574..e9eed7d6de 100644 --- a/site/content/docs/02-template-syntax.md +++ b/site/content/docs/02-template-syntax.md @@ -1640,6 +1640,7 @@ The `` element lets you render an element of a dynamically speci The only supported binding is `bind:this`, since the element type specific bindings that Svelte does at build time (e.g. `bind:value` for input elements) does not work with a dynamic tag type. If `this` has a nullish value, the element and its children will not be rendered. +If `this` has void tag name (e.g. `br`) and has child element(s), runtime throw error and nothing to render in development mode. ```sv