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

+2 -2
View File
@@ -25,7 +25,7 @@ use crate::utils::use_router_internal::use_router_internal;
///
/// #[component]
/// fn App() -> Element {
/// render! {
/// rsx! {
/// h1 { "App" }
/// Router::<Route> {}
/// }
@@ -34,7 +34,7 @@ use crate::utils::use_router_internal::use_router_internal;
/// #[component]
/// fn Index() -> Element {
/// let path: Route = use_route(&cx).unwrap();
/// render! {
/// rsx! {
/// h2 { "Current Path" }
/// p { "{path}" }
/// }