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

@@ -54,7 +54,7 @@ async fn main() {
#[component]
fn Blog() -> Element {
render! {
rsx! {
div {
"Blog"
}
@@ -63,7 +63,7 @@ fn Blog() -> Element {
#[component]
fn Post(id: usize) -> Element {
render! {
rsx! {
div {
"PostId: {id}"
}
@@ -72,7 +72,7 @@ fn Post(id: usize) -> Element {
#[component]
fn PostHome() -> Element {
render! {
rsx! {
div {
"Post"
}
@@ -81,7 +81,7 @@ fn PostHome() -> Element {
#[component]
fn Home() -> Element {
render! {
rsx! {
div {
"Home"
}