This commit is contained in:
marc2332 committed 2023-07-13 19:06:43 +02:00
1 parent 1f3f72edc3
commit 39bce476ae
2 files changed
+64 -1

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
# UseEffect
[`use_effect`](https://docs.rs/dioxus-hooks/latest/dioxus_hooks/fn.use_effect.html) let's you run a callback that returns a future, only it's [dependencies](#dependencies) change. This is useful to syncrhonize with external events.
[`use_effect`](https://docs.rs/dioxus-hooks/latest/dioxus_hooks/fn.use_effect.html) lets you run a callback that returns a future, which will be re-run when it's [dependencies](#dependencies) change. This is useful to syncrhonize with external events.
## Dependencies