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`.