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
@@ -21,7 +21,7 @@ use std::{
/// fn Parent() -> Element {
/// let count = use_tracked_state(|| 0);
///
/// render! {
/// rsx! {
/// Child {
/// count: count.clone(),
/// }
@@ -32,7 +32,7 @@ use std::{
/// fn Child(count: Tracked<usize>) -> Element {
/// let less_than_five = use_selector(count, |count| *count < 5);
///
/// render! {
/// rsx! {
/// "{less_than_five}"
/// }
/// }