diff --git a/documentation/docs/03-template-syntax/06-snippet.md b/documentation/docs/03-template-syntax/06-snippet.md index c9951d3f3414..5e20094f234c 100644 --- a/documentation/docs/03-template-syntax/06-snippet.md +++ b/documentation/docs/03-template-syntax/06-snippet.md @@ -55,6 +55,8 @@ Snippets, and [render tags](@render), are a way to create reusable chunks of mar Like function declarations, snippets can have an arbitrary number of parameters, which can have default values, and you can destructure each parameter. You cannot use rest parameters, however. +> [!NOTE] Unlike function declarations, you can only call a snippet through the [`{@render ...}`](@render) tag. + ## Snippet scope Snippets can be declared anywhere inside your component. They can reference values declared outside themselves, for example in the `