From 4dcf53a911c62962887a2842e8cf02fa80625fd6 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Tue, 24 Feb 2026 21:18:48 -0500 Subject: [PATCH] Update documentation/docs/97-best-practices/10-best-practices.md Co-authored-by: ComputerGuy <63362464+Ocean-OS@users.noreply.github.com> --- documentation/docs/97-best-practices/10-best-practices.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/docs/97-best-practices/10-best-practices.md b/documentation/docs/97-best-practices/10-best-practices.md index 23f7ec4f05..7bd39bbd02 100644 --- a/documentation/docs/97-best-practices/10-best-practices.md +++ b/documentation/docs/97-best-practices/10-best-practices.md @@ -74,7 +74,7 @@ When using an each block to iterate over some value, prefer using the item witho > [!NOTE] The key _must_ actually uniquely identify the object — _do not_ use the index. -## Snippet +## Snippets You can think of snippets like functions that render markup when invoked with the `{@render}` tag. You can declare snippets in the template part of a Svelte component and they will be available as a variable in the `script` tag. If they don't contain any state created in the `script` tag they will also be available in the `script module`.