From 13987a5d9ca462732b30706e3347f48828d28f9d Mon Sep 17 00:00:00 2001 From: Scott Wu Date: Mon, 29 Jun 2026 07:01:14 +0800 Subject: [PATCH] Update Svelte dynamic tags explanation Clarified the behavior of Svelte regarding dynamic tags. --- documentation/docs/03-template-syntax/01-basic-markup.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/documentation/docs/03-template-syntax/01-basic-markup.md b/documentation/docs/03-template-syntax/01-basic-markup.md index 167ed312b9..faf88a5e0e 100644 --- a/documentation/docs/03-template-syntax/01-basic-markup.md +++ b/documentation/docs/03-template-syntax/01-basic-markup.md @@ -18,12 +18,12 @@ A lowercase tag, like `
`, denotes a regular HTML element. A capitalised tag
``` -Svelte safely omits dynamic tags if the resolved property is `null` or `undefined`, but it expects the object path to be valid object. +Svelte will omit tags if the leaf property is `null` or `undefined`. ```svelte