Skip to content

Commit 81bc348

Browse files
authored
docs(reactivity-watchers.md): remove ambiguous “versions before 3.5” statement from watcher onCleanup section
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.
1 parent 31b4521 commit 81bc348

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/guide/essentials/watchers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ export default {
486486

487487
</div>
488488

489-
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`.
489+
`onCleanup` passed via function argument is bound to the watcher instance so it is not subject to the synchronous constraint of `onWatcherCleanup`.
490490

491491
## Callback Flush Timing {#callback-flush-timing}
492492

0 commit comments

Comments
 (0)