feat: beaf up the use_state hook

This commit is contained in:
Jonathan Kelley committed 2021-07-08 09:29:12 -04:00
1 parent 7aec40d57e
commit e4cdb645aa
11 files changed
+214 -218

No files matched your search

+1 -1
View File
@@ -39,7 +39,7 @@
//! - Allow top-level fragments
//!
fn main() {
dioxus::webview::launch(Example);
dioxus::desktop::launch(Example, |c| c);
}
/// When trying to return "nothing" to Dioxus, you'll need to specify the type parameter or Rust will be sad.