depreciate the render macro

This commit is contained in:
Evan Almloff committed 2024-01-16 13:18:46 -06:00
1 parent 90d0164b9e
commit e65c5f0eb3
148 files changed
+459 -458

No files matched your search

+3 -3
View File
@@ -5,9 +5,9 @@ fn main() {
}
fn app() -> Element {
render! {
rsx! {
ErrorBoundary {
handle_error: |error: CapturedError| render! {"Found error {error}"},
handle_error: |error: CapturedError| rsx! {"Found error {error}"},
DemoC { x: 1 }
}
}
@@ -19,7 +19,7 @@ fn DemoC(x: i32) -> Element {
result.throw()?;
render! {
rsx! {
h1 { "{x}" }
}
}