remove cx.render
This commit is contained in:
159 files changed
+600
-658
No files matched your search
@@ -5,15 +5,13 @@ fn main() {
|
||||
}
|
||||
|
||||
#[component]
|
||||
fn App() -> Element {
|
||||
cx.render(rsx! {
|
||||
fn App(_: ()) -> Element {
|
||||
rsx! {
|
||||
ErrorBoundary {
|
||||
handle_error: |error: CapturedError| rsx! {"Found error {error}"},
|
||||
DemoC {
|
||||
x: 1
|
||||
}
|
||||
DemoC { x: 1 }
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
#[component]
|
||||
|
||||
Reference in new issue
Block a user