We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dab4809 commit c414bd2Copy full SHA for c414bd2
src/api/reactivity-core.md
@@ -515,7 +515,7 @@ Watches one or more reactive data sources and invokes a callback function when t
515
Pausing / resuming the watcher: <sup class="vt-badge" data-text="3.5+" />
516
517
```js
518
- const { stop, pause, resume } = watchEffect(() => {})
+ const { stop, pause, resume } = watch(() => {})
519
520
// temporarily pause the watcher
521
pause()
0 commit comments