From e4ee271391b53b1ca42dc6e82c97b6ec362a8004 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Thu, 15 May 2025 09:34:41 -0400 Subject: [PATCH] Update documentation/docs/03-template-syntax/09-@attach.md --- documentation/docs/03-template-syntax/09-@attach.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/docs/03-template-syntax/09-@attach.md b/documentation/docs/03-template-syntax/09-@attach.md index 9901541160..f799243304 100644 --- a/documentation/docs/03-template-syntax/09-@attach.md +++ b/documentation/docs/03-template-syntax/09-@attach.md @@ -4,7 +4,7 @@ title: {@attach ...} Attachments are functions that run in an [effect]($effect) when an element is mounted to the DOM or when [state]($state) read inside the function updates. -Optionally, they can return a function that is called before the attachment re-runs, or when the element is later removed from the DOM. +Optionally, they can return a function that is called before the attachment re-runs, or after the element is later removed from the DOM. > [!NOTE] > Attachments are available in Svelte 5.29 and newer.