mirror of
https://github.com/DioxusLabs/dioxus
synced 2025-02-22 00:28:28 +00:00
touchups
This commit is contained in:
parent
c9f04ac3d0
commit
1404009edc
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ use std::future::Future;
|
|||
/// The future is spawned on the next call to `flush_sync` which means that it will not run on the server.
|
||||
/// To run a future on the server, you should use `spawn` directly.
|
||||
/// `use_future` **won't return a value**.
|
||||
/// If you want to return a value, use `use_resource` instead.
|
||||
/// If you want to return a value from a future, use `use_resource` instead.
|
||||
/// ```rust
|
||||
/// fn app() -> Element {
|
||||
/// let mut count = use_signal(|| 0);
|
||||
|
|
Loading…
Add table
Reference in a new issue