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
@@ -103,7 +103,7 @@ fn Example() -> Element {
// both of these are equivalent
rsx!("hello world"))
render!("hello world!")
rsx!("hello world!")
}
```
@@ -246,7 +246,7 @@ use hooks to define the state and modify it from within listeners.
fn App() -> Element {
let name = use_signal(|| "world");
render!("hello {name}!")
rsx!("hello {name}!")
}
```