examples: upgrade to new version of dioxus core.

also add the inline_props macro
This commit is contained in:
Jonathan Kelley committed 2021-12-25 17:18:05 -05:00
1 parent 21e00c114e
commit cda759c659
41 files changed
+556 -253

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ pub static App: Component<()> = |cx| {
let (async_count, dir) = (count.for_async(), *direction);
let (task, _) = use_coroutine(cx, move || async move {
let task = use_coroutine(&cx, move || async move {
loop {
TimeoutFuture::new(250).await;
*async_count.get_mut() += dir;