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: