depreciate the render macro
This commit is contained in:
1 parent
90d0164b9e
commit
e65c5f0eb3
148 files changed
+459
-458
No files matched your search
+1
-1
@@ -19,7 +19,7 @@ fn app() -> Element {
|
||||
}
|
||||
});
|
||||
|
||||
render! {
|
||||
rsx! {
|
||||
div {
|
||||
h1 { "Current count: {count}" }
|
||||
button { onclick: move |_| count.set(0), "Reset the count" }
|
||||
|
||||
Reference in new issue
Block a user