wip: rely on git version of prettyplease, refactor autofmt
This commit is contained in:
1 parent
5b9e34aadd
commit
398cbc6534
31 files changed
+466
-4812
No files matched your search
@@ -11,6 +11,14 @@ 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!" }
|
||||
|
||||
Reference in new issue
Block a user