From 83832ff777d9184141adc3cec1de5129b615dcd5 Mon Sep 17 00:00:00 2001 From: DoomGuy <307901355+abhhjhh28-svg@users.noreply.github.com> Date: Fri, 6 Nov 2026 08:30:44 +0300 Subject: [PATCH] docs: clarify side effects in the watcher introduction --- 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 7f855031ca..1807a3fa38 100644 --- a/src/guide/essentials/watchers.md +++ b/src/guide/essentials/watchers.md @@ -2,7 +2,7 @@ ## Basic Example {#basic-example} -Computed properties allow us to declaratively compute derived values. However, there are cases where we need to perform "side effects" in reaction to state changes - for example, mutating the DOM, or changing another piece of state based on the result of an async operation. +Computed properties allow us to declaratively compute derived values without changing other state. Sometimes, however, we need to respond to state changes by doing something beyond computing a value - for example, mutating the DOM or changing another piece of state based on the result of an async operation. Such operations are called "side effects", and watchers let us perform them in response to reactive state changes.