add a test for the memo hook
This commit is contained in:
1 parent
bbc81b8f9c
commit
f51b5617e1
6 files changed
+115
-31
No files matched your search
@@ -13,6 +13,8 @@ use std::ops::Deref;
|
||||
/// `use_future` **won't return a value**.
|
||||
/// If you want to return a value from a future, use `use_resource` instead.
|
||||
/// ```rust
|
||||
/// # use dioxus::prelude::*;
|
||||
/// # use std::time::Duration;
|
||||
/// fn app() -> Element {
|
||||
/// let mut count = use_signal(|| 0);
|
||||
/// let mut running = use_signal(|| true);
|
||||
|
||||
Reference in new issue
Block a user