depreciate the render macro
This commit is contained in:
1 parent
90d0164b9e
commit
e65c5f0eb3
148 files changed
+459
-458
No files matched your search
@@ -33,7 +33,7 @@ enum Route {
|
||||
|
||||
#[component]
|
||||
fn Blog(id: i32) -> Element {
|
||||
render! {
|
||||
rsx! {
|
||||
Link { to: Route::Home {}, "Go to counter" }
|
||||
table {
|
||||
tbody {
|
||||
|
||||
@@ -51,7 +51,7 @@ enum Route {
|
||||
|
||||
#[component]
|
||||
fn Blog() -> Element {
|
||||
render! {
|
||||
rsx! {
|
||||
Link { to: Route::Home {}, "Go to counter" }
|
||||
table {
|
||||
tbody {
|
||||
|
||||
@@ -380,7 +380,7 @@ fn apply_request_parts_to_response<B>(
|
||||
/// use dioxus_fullstack::{axum_adapter::render_handler_with_context, prelude::*};
|
||||
///
|
||||
/// fn app() -> Element {
|
||||
/// render! {
|
||||
/// rsx! {
|
||||
/// "hello!"
|
||||
/// }
|
||||
/// }
|
||||
|
||||
@@ -12,7 +12,7 @@ where
|
||||
use dioxus_router::prelude::RouterConfig;
|
||||
|
||||
let cfg = props;
|
||||
render! {
|
||||
rsx! {
|
||||
dioxus_router::prelude::Router::<R> {
|
||||
config: move || {
|
||||
RouterConfig::default()
|
||||
|
||||
Reference in new issue
Block a user