You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/rules/no-arrow-functions-in-watch.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ since: v7.0.0
13
13
14
14
## :book: Rule Details
15
15
16
-
This rules disallows using arrow functions to defined watcher.The reason is arrow functions bind the parent context, so `this`will not be the Vue instance as you expect.([see here for more details](https://vuejs.org/api/options-state.html#watch))
16
+
This rule disallows using arrow functions when defining a watcher. Arrow functions bind to their parent context, which means they will not have access to the Vue component instance via `this`. [See here for more details](https://vuejs.org/api/options-state.html#watch).
0 commit comments