remove cx.render
This commit is contained in:
159 files changed
+600
-658
No files matched your search
@@ -5,9 +5,9 @@ fn main() {
|
||||
}
|
||||
|
||||
fn app() -> Element {
|
||||
let alpha = use_state(|| 100);
|
||||
let alpha = use_signal(|| 100);
|
||||
|
||||
cx.render(rsx! {
|
||||
rsx! {
|
||||
div {
|
||||
width: "100%",
|
||||
height: "100%",
|
||||
@@ -109,5 +109,5 @@ fn app() -> Element {
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user