docs: move into a fromjs tutorial
This commit is contained in:
1 parent
b05331a60b
commit
69f5cc3802
10 files changed
+92
-113
No files matched your search
+1
-1
@@ -11,7 +11,7 @@ use dioxus::prelude::*;
|
||||
|
||||
async fn main() {
|
||||
dioxus_webview::launch(|ctx| {
|
||||
let (count, set_count) = use_state(ctx, || 0);
|
||||
let (count, set_count) = use_state(&ctx, || 0);
|
||||
|
||||
ctx.render(rsx! {
|
||||
div {
|
||||
|
||||
Reference in new issue
Block a user