implement use_async_memo with reactive context

This commit is contained in:
Jonathan Kelley committed 2024-02-01 13:21:53 -08:00
1 parent 7c2947a131
commit dd06705ff1
7 files changed
+68 -58

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
use crate::use_hook_did_run;
use dioxus_core::prelude::*;
use dioxus_signals::{CopyValue, Effect, ReactiveContext, Writable};
use futures_util::select;
// use futures_util::select;
/// Create a new effect. The effect will be run immediately and whenever any signal it reads changes.
/// The signal will be owned by the current component and will be dropped when the component is dropped.