feat: overhaul examples and clean things up

This commit is contained in:
Jonathan Kelley committed 2022-01-03 00:42:17 -05:00
1 parent 601632fc7e
commit 420a30e5d4
33 files changed
+1089 -1417

No files matched your search

+3 -3
View File
@@ -25,10 +25,10 @@ fn app(cx: Scope) -> Element {
cx.render(rsx! {
div {
h1 { "High-Five counter: {count}" }
h1 { "Current count: {count}" }
button {
onclick: move |_| *count.modify() += 1,
"Click me!"
onclick: move |_| count.set(0),
"Reset the count"
}
}
})