feat: context api overhaul

This commit is contained in:
Jonathan Kelley committed 2022-12-02 16:24:49 -08:00
1 parent 11a45c8ef0
commit a61daf220d
44 files changed
+812 -621

No files matched your search

+1 -1
View File
@@ -466,7 +466,7 @@ fn api_makes_sense() {
}
cx.spawn({
dioxus_core::to_owned![val];
to_owned![val];
async move {
val.modify(|f| f + 1);
}