marc2332 2 年之前
父節點
當前提交
d00b10e83e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/guide/src/en/async/use_effect.md

+ 1 - 1
docs/guide/src/en/async/use_effect.md

@@ -7,7 +7,7 @@ Whenever the hooks [dependencies](#dependencies) change, the future will be re-e
 
 ## Dependencies
 
-You might want to call `use_effect` only when some value changes. For example, you might want to fetch a user's data only when the user id changes. You can provide a tuple of "dependencies" to the hook. It will automatically re-run the future when any of those dependencies change.
+You can make the future re-run when some value changes. For example, you might want to fetch a user's data only when the user id changes. You can provide a tuple of "dependencies" to the hook. It will automatically re-run the future when any of those dependencies change.
 
 Example: