WIP: moving to CbIdx as serializable event system

This commit is contained in:
Jonathan Kelley committed 2021-02-27 11:43:28 -05:00
1 parent e4b1f6ea0d
commit e840f472fa
9 files changed
+160 -200

No files matched your search

+1 -3
View File
@@ -16,11 +16,9 @@ static Example: FC<()> = |ctx| {
ctx.view(html! {
<div>
<h1> "Hello, {value}" </h1>
<button onclick={move |_| set_value("world!")}> "?" </button>
<button onclick={move |_| set_value("Dioxus 🎉")}> "?" </button>
<div>
<h1> "Hello, {value}" </h1>
</div>
</div>
})
};