From 81bc34841fa4794728dcac1249bf6c6eb8a12d7a Mon Sep 17 00:00:00 2001 From: TAYUN <80144903+TAYUN@users.noreply.github.com> Date: Thu, 16 Oct 2025 10:14:38 +0800 Subject: [PATCH] =?UTF-8?q?docs(reactivity-watchers.md):=20remove=20ambigu?= =?UTF-8?q?ous=20=E2=80=9Cversions=20before=203.5=E2=80=9D=20statement=20f?= =?UTF-8?q?rom=20watcher=20onCleanup=20section?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Removed the ambiguous line “This works in versions before 3.5. In addition”. The onCleanup callback argument remains available in 3.5+, so the old note could mislead readers into thinking it was deprecated; dropping it keeps the wording accurate and concise. --- src/guide/essentials/watchers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/guide/essentials/watchers.md b/src/guide/essentials/watchers.md index 17798b3b46..7f855031ca 100644 --- a/src/guide/essentials/watchers.md +++ b/src/guide/essentials/watchers.md @@ -486,7 +486,7 @@ export default { -This works in versions before 3.5. In addition, `onCleanup` passed via function argument is bound to the watcher instance so it is not subject to the synchronous constraint of `onWatcherCleanup`. +`onCleanup` passed via function argument is bound to the watcher instance so it is not subject to the synchronous constraint of `onWatcherCleanup`. ## Callback Flush Timing {#callback-flush-timing}