polish: clean up the examples and move autofmt sample into dedicated file

This commit is contained in:
Jonathan Kelley committed 2022-06-30 15:19:58 -04:00
1 parent 0aec375371
commit 28a0c67275
5 files changed
+251 -508

No files matched your search

-8
View File
@@ -11,14 +11,6 @@ fn main() {
fn app(cx: Scope) -> Element {
let mut count = use_state(&cx, || 0);
let a = rsx! {
div {
key: "a"
}
};
cx.render(rsx! {
h1 { "High-Five counter: {count}" }
button { onclick: move |_| count += 1, "Up high!" }