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

@@ -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!"
/// }
/// }
+1 -1
View File
@@ -12,7 +12,7 @@ where
use dioxus_router::prelude::RouterConfig;
let cfg = props;
render! {
rsx! {
dioxus_router::prelude::Router::<R> {
config: move || {
RouterConfig::default()