remove cx.render
This commit is contained in:
159 files changed
+600
-658
No files matched your search
@@ -5,7 +5,7 @@ fn main() {
|
||||
}
|
||||
|
||||
fn app() -> Element {
|
||||
cx.render(rsx!(
|
||||
rsx!(
|
||||
div {
|
||||
// Use Map directly to lazily pull elements
|
||||
{(0..10).map(|f| rsx! { "{f}" })},
|
||||
@@ -30,5 +30,5 @@ fn app() -> Element {
|
||||
"hello world!"
|
||||
}
|
||||
}
|
||||
))
|
||||
)
|
||||
}
|
||||
Reference in new issue
Block a user