فهرست منبع

Merge pull request #1430 from jonnitto/fix_docu_watch

Change x-watch to $watch in documenation
Caleb Porzio 4 سال پیش
والد
کامیت
deca986d97
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      packages/docs/src/en/essentials/lifecycle.md

+ 1 - 1
packages/docs/src/en/essentials/lifecycle.md

@@ -47,7 +47,7 @@ As you can see above, `$watch` allows you to hook into data changes using a dot-
 <a name="x-effect"></a>
 ### `x-effect`
 
-`x-effect` uses the same mechanism under the hood as `x-watch` but has very different usage.
+`x-effect` uses the same mechanism under the hood as `$watch` but has very different usage.
 
 Instead of specifying which data key you wish to watch, `x-effect` will call the provided code and intelligently look for any Alpine data used within it. Now when one of those pieces of data changes, the `x-effect` expression will be re-run.